Skip to content

Technology Forum

SEO, Speed Up website, Server Optimization, Linux, Open Source Softwares

  • Home
  • General
    • Web Server
    • Website Formatting
  • IT Companies
  • Optimization
    • PHP
  • Linux
  • Home
  • Optimization
  • PHP
  • TIPS
Optimization
PHP Code Optimization
Plesk Panel
Plesk: Disable Mail Service for domain
PHP
Remove Apps from Windows 10
Optimization
Tools for Optimizing Images
PHP
Enable memcache in WAMP
Servers
E-Mail Testing

TIPS

Posted on June 30, 2012July 8, 2012 By admin No Comments on TIPS
PHP

Check HTTP Connections

The following may indicate if you’re getting slammed by one host. It should display all current connections to port 80 ordered by count
netstat -anp |awk '/:80/ {print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

How to Release Memory/Caches/Buffers

To release disk buffers and caches used by the kernel, you need to be “root”. Then the following one line command can do the work:

# sync && echo 3 > /proc/sys/vm/drop_caches

First we run the sync command before dropping the cache. Doing this will ensure that all memory in the cache is updated and all dirty pages are synchronized before dropping the cache. The next step is echoing “3” to the /proc/sys/vm/drop_caches file which will signal the kernel to release the pagecache, dentries and inodes.

Post navigation

❮ Previous Post: Hewlett Packard (HP) Journey
Next Post: eAccelerator ❯

You may also like

MySQL
Calculate Query Cache
PHP
SSL Certificate
Optimization
PHP Code Optimization
PHP
Resolving Public DNS Server List

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

View Posts

  • PHP FPM modification – Plesk
  • HTML: Link rel – Preload
  • HTML: Attributes of rel
  • Linux Commands
  • Security HTTP Headers

Categories

Our links

  • Chandigarh Business Information Directory
  • Chandigarh City Business Information Directory
  • Customer Services, Support, Helpline, Toll Free Numbers
  • HelpDesk Punjab Business Directory
  • Indian Business Helpline Directory
  • Indian Cities Yellow Pages
  • Nice Time Pass Jokes Quotes Stories
  • Online Applications for Admissions / Jobs / Positions / Employment
  • Technical, Engineering, Medical Directory
  • Technology Forum
  • The Chandigarh City Business Pages
  • Tricity Helpline Chandigarh, Mohali, Panchkula – Business Directory

Copyright © 2025 Technology Forum.

Theme: Oceanly News by ScriptsTown