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
General
Identity Theft
PHP
WordPress Optimization
Web Server
HTTP header and Server Response Codes
Websites
How to Force detecting the Social Profiles associated with a Website
Optimization
Tools for Optimizing Images
PHP
Apache Prefork versus Worker

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
Goodbye to DDOS
PHP
SSL Certificate
PHP
WordPress Optimization
Linux
Manage and Tweak Dedicated Linux Hosting Web Server

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

  • Domain Name
  • General
    • Servers
    • Web Server
    • Website Formatting
  • IT Companies
  • Linux
  • MySQL
  • Optimization
    • PHP
  • Troubleshooting
  • Web Hosting Control Panel
    • Plesk Panel
  • Websites
    • CSS
    • HTML
    • Optimization
  • Windows
    • Windows 10

Recent Posts

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

Copyright © 2025 Technology Forum.

Theme: Oceanly News by ScriptsTown