flock and lseek issues
flock and lseek issues
- Subject: flock and lseek issues
- From: Jeremy Bush <email@hidden>
- Date: Mon, 26 Sep 2005 11:02:43 -0500
Hi, all not sure if this is the correct place to post this, but here goes.
Im using a php application called gallery2, and I recently installed
Tiger on our webserver, an XServe G5. It now run extremely slow, usualy
taking 10-15 seconds to return a html page to the client. During this
time, httpd processes spawn and take the 10-15 seconds to finish. I
started doin ktraces on the httpd processes and sotring the kdump by
time, I saw many flock() calls taking .5 -.75 seconds each.
In the G2 app, I can change the locking from file locking to database
locking, so I changed that setting. This took about 5 seconds off of the
process time, but it is still taking 5-6 seconds to return a page.
Currently, ktrace/kdump shows many lseek() calls taking .3-.4 seconds each.
Some notes:
1. This only happens on Tiger server. Panther server runs fine.
2. I have tried different web server, such as lighttpd, to the same result.
3. The gallery developers did not have much awnsers for me, simply
saying, "your disk access is very slow"
Tiger kdump link: www.imagemanagement.ws/kdump.out
Tiger G2 link: www.imagemanagement.ws/gallery2
Panther G2 link: www3.imagemanagement.ws/gallery2
Are there known issues with flock or lseek on Tiger? Any insight on how
I can get this to run at an acceptable speed?
--
Jeremy Bush
Image Management LLC
262-898-9137
http://www.imagemanagement.ws
begin:vcard
fn:Jeremy Bush
n:Bush;Jeremy
org:Image Management LLC
adr;dom:Suite 200;;610 Main St;Racine;Wi;53403
email;internet:email@hidden
title:Web Master
tel;work:262-898-9137
tel;fax:262-898-9138
url:http://www.imagemanagement.ws
version:2.1
end:vcard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden