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)
on 2008-12-12 22:53
on 2008-12-13 00:05
I don't have mongrels hanging, but I _do_ have mongrels that cease to exist without leaving anything in the logs at all. Very odd. Jonathan Weil, Mark Thomas wrote: > rt_sigreturn(0) = 1784 > 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, > ----------------- > Mark T. Weil > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users -- Jonathan Rochkind Digital Services Software Engineer The Sheridan Libraries Johns Hopkins University 410.516.8886 rochkind (at) jhu.edu
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.