Hello,

I am having to restart my mongrel_cluster instances every morning because they 
are hung.
Has anyone else had this problem.

I am running Red-Hat 5.0 and Mongrel_cluster (1.0.5) and Apache (2.2.3).

I have a strace of the mongrel_cluster when it is hung.

--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
rt_sigreturn(0)                         = 1784
accept(3, {sa_family=AF_INET, sin_port=htons(35255), 
sin_addr=inet_addr("127.0.0.1")}, [16]) = 788
fcntl(788, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat(788, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 mmap(NULL, 4096, 
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1082bd8000
lseek(788, 0, SEEK_CUR)                 = -1 ESPIPE (Illegal seek)
fcntl(788, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat(788, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 mmap(NULL, 4096, 
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1082bd9000
lseek(788, 0, SEEK_CUR)                 = -1 ESPIPE (Illegal seek)
setsockopt(788, SOL_TCP, TCP_CORK, [1], 4) = 0
select(789, [788], [6], [], {0, 0})     = 1 (in [788], left {0, 0})
select(8, [3], [6], [], {0, 0})         = 0 (Timeout)
read(788, "GET / HTTP/1.1\r\nHost: 127.0.0.1:"..., 16384) = 600 
getpeername(788, {sa_family=AF_INET, sin_port=htons(35255), 
sin_addr=inet_addr("127.0.0.1")}, [9377430658336423952]) = 0 
stat("/opt/web/cee/cee/public", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
stat("/opt/web/cee/cee/public", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
stat("/opt/web/cee/cee/public/index.html", 0x7fff34252b70) = -1 ENOENT (No such 
file or directory) stat("/opt/web/cee/cee/public/.html", 0x7fff34252820) = -1 
ENOENT (No such file or directory)
select(8, [3], [6], [], {0, 5860})      = 0 (Timeout)



--
Thank You,
-----------------
Mark T. Weil
Sandia National Labs

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to