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
PHP
SSL Certificate
MySQL
Calculate Query Cache
Servers
SMTP reply codes
PHP
Using PHP script to delete a multiple files
Optimization
Tools for Optimizing Images
MySQL
Script to convert InnoDB tables to MyISAM

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

PHP
Using PHP script to delete a multiple files
PHP
WordPress Optimization
PHP
SSL Certificate
PHP
Remove Apps from Windows 10

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