Paolo Gabrielli\’s Blog

Just another near empty WordPress.com’s weblog. But this is from Paolo ‘pkirk’ Gabrielli.

Debian Lenny, Lighttpd, PHP5 (php5-apc) and MySQL spikes

Posted by paolo on 27 November, 2009

On a clean server I installed Lenny, I used aptitude to install Lighttpd (1.4.19 a bit old, I know), Mysql, php5-cgi (with php5-apc).

Nothing unusual, nothing strange, no handmade modifications. I think that was pretty standard, but I found (thanks Munin) that MySQL was having big utilization spikes (and so was the server’s load) while admins of a WordPress installation where POSTing things, doing Uploads, etc.

Then I found someone on the Lighttpd forum having a similar issue with FreeBSD. So I tried to change the “server.network-backend” conf from “linux-sendfile” to “writev” and the issue disappeared.

I hope this can help someone else.

About these ads

2 Responses to “Debian Lenny, Lighttpd, PHP5 (php5-apc) and MySQL spikes”

  1. [...] used aptitude to install Lighttpd (1.4.19 a bit old, I know), Mysql, php5-cgi (with php5-apc). More here Nothing unusual, nothing strange, no handmade modifications. I think that was pretty standard, but [...]

  2. [...] from here [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: