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
Plesk Panel
Plesk: Disable Mail Service for domain
Web Server
Security HTTP Headers
General
History of the Internet
PHP
WordPress Optimization
PHP
Apache Prefork versus Worker
Optimization
Add Trailing Slash to URL (.htaccess)

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

Linux
Manage and Tweak Dedicated Linux Hosting Web Server
PHP
Apache Prefork versus Worker
PHP
Goodbye to DDOS
PHP
Encrypt and Decrypt for URL Using PHP

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