Hello all. I have a postnuke website that is loading very slow on first connection. When browsing the site after loading the first page, the speed is fine. The server is a dual-xeon IBM xSeries with 4GB RAM running RedHat Enterprise 4 ES.
An strace of the httpd processes shows a couple of 'Resource temporarily unavailable' messages. Could these be my issue? The page is only slow when first connecting. I have full access to the site and database, and database tuning looks fine.
Thanks for any and all assistance.
--Snip from strace--
accept(3, {sa_family=AF_INET, sin_port=htons(34024), sin_addr=inet_addr("MY IP HERE")}, [16]) = 13
semop(655363, 0xa4b6c2, 1) = 0
getsockname(13, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("SERVER IP HERE")}, [16]) = 0
fcntl64(13, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(13, 0x8724918, 8000) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=13, events=POLLIN, revents=POLLIN}], 1, 300000) = 1
read(13, "GET /pulse/includes/blocks/dynam"..., 8000) = 531
gettimeofday({1126572908, 41048}, NULL) = 0
stat64("/var/www/html/pulse/includes/blocks/dynamenu/images/transparent.png", {st_mode=S_IFREG|0770, st_size=148, ...}) = 0
open("/var/www/html/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/www/html/pulse/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/www/html/pulse/includes/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/www/html/pulse/includes/blocks/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/www/html/pulse/includes/blocks/dynamenu/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/www/html/pulse/includes/blocks/dynamenu/images/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/www/html/pulse/includes/blocks/dynamenu/images/transparent.png/.htaccess", O_RDONLY) = -1 ENOTDIR (Not a directory)
open("/var/www/html/pulse/includes/blocks/dynamenu/images/transparent.png", O_RDONLY) = 14
mmap2(NULL, 148, PROT_READ, MAP_SHARED, 14, 0) = 0xb75f7000
writev(13, [{"HTTP/1.1 200 OK\r\nDate: Tue, 13 S"..., 249}, {"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\1\0\0\0\1\1\3\0\0\0"..., 148}], 2) = 397
munmap(0xb75f7000, 148) = 0
write(9, "MY IP HERE - - [12/Sep/2005:"..., 228) = 228
shutdown(13, 1 /* send */) = 0
poll([{fd=13, events=POLLIN, revents=POLLIN|POLLERR|POLLHUP}], 1, 2000) = 1
read(13, 0xbfffca20, 512) = -1 ECONNRESET (Connection reset by peer)
close(13) = 0
read(5, 0xbfffcc33, 1) = -1 EAGAIN (Resource temporarily unavailable)
close(14) = 0
semop(655363, 0xa4b6bc, 1 <unfinished ...>
----
scott thistle | technical consultant
rhce,vcp,scna
xwave | an Aliant company
st. john's | nl | a1b4b8
direct 709.570.1920 | cell.709.728.3599
text 7097283599@xxxxxxxxxxxxxxxxxxx