Spinning mj_queuerun

Brent Chapman <[email protected]>
Newsgroups gmane.mail.majordomo.majordomo2.devel
Message-ID <p06230919c0c866699290@[64.142.69.207]>
According to "strace", my spinning mj_queuerun seems to be simply 
cycling through attemping to open the same set of files over and over 
again, without ever making any progress...  Full extract of one cycle 
is below, but the most relevant lines seem to be:

stat64("/var/tmp/majordomo2/locks", {st_mode=S_IFDIR|0775, 
st_size=8192, ...}) = 0
open("/var/tmp/majordomo2/locks/master.lock", 
O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 6
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfb3a9ec) = -1 ENOTTY 
(Inappropriate ioctl for device)
...
open("/var/tmp/majordomo2/locks/_usr_local_mail_lists_greatcircle.com_GLOBAL__tokens", 
O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfb3a9ec) = -1 ENOTTY 
(Inappropriate ioctl for device)
...
open("/etc/mtab", O_RDONLY)             = 8
...
open("/proc/stat", O_RDONLY)            = 8
...
open("/usr/local/mail/lists/greatcircle.com/GLOBAL/_tokens.D", 
O_RDWR|O_LARGEFILE) = 8
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
read(8, "\0\0\0\0\0\0\0\0\0\0\0\0a\25\6\0\5\0\0\0\0\20\0\0\r\0\0"..., 
512) = 512
close(8)                                = 0
write(2, "--== Problem allocating database"..., 183) = 183
gettimeofday({1151513766, 228978}, NULL) = 0
gettimeofday({1151513766, 229063}, NULL) = 0
close(7)                                = 0
close(6)                                = 0

--------
Full strace output of one cycle:
--------

gettimeofday({1151513766, 225119}, NULL) = 0
gettimeofday({1151513766, 225214}, NULL) = 0
gettimeofday({1151513766, 225302}, NULL) = 0
gettimeofday({1151513766, 225393}, NULL) = 0
gettimeofday({1151513766, 225504}, NULL) = 0
gettimeofday({1151513766, 225606}, NULL) = 0
gettimeofday({1151513766, 225713}, NULL) = 0
gettimeofday({1151513766, 225806}, NULL) = 0
gettimeofday({1151513766, 225913}, NULL) = 0
stat64("/var/tmp/majordomo2/locks", {st_mode=S_IFDIR|0775, 
st_size=8192, ...}) = 0
open("/var/tmp/majordomo2/locks/master.lock", 
O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 6
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfb3a9ec) = -1 ENOTTY 
(Inappropriate ioctl for device)
_llseek(6, 0, [0], SEEK_CUR)            = 0
fstat64(6, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
flock(6, LOCK_SH)                       = 0
open("/var/tmp/majordomo2/locks/_usr_local_mail_lists_greatcircle.com_GLOBAL__tokens", 
O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfb3a9ec) = -1 ENOTTY 
(Inappropriate ioctl for device)
_llseek(7, 0, [0], SEEK_CUR)            = 0
fstat64(7, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
flock(7, LOCK_EX)                       = 0
gettimeofday({1151513766, 227027}, NULL) = 0
gettimeofday({1151513766, 227096}, NULL) = 0
gettimeofday({1151513766, 227183}, NULL) = 0
open("/etc/mtab", O_RDONLY)             = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=162, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x40334000
read(8, "/dev/hda1 / ext3 rw,errors=remou"..., 4096) = 162
close(8)                                = 0
munmap(0x40334000, 4096)                = 0
open("/proc/stat", O_RDONLY)            = 8
fstat64(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x40334000
read(8, "cpu  2300709 720 878182 238517 5"..., 1024) = 1024
read(8, "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "..., 1024) = 217
read(8, "", 1024)                       = 0
close(8)                                = 0
munmap(0x40334000, 4096)                = 0
stat64("/usr/local/mail/lists/greatcircle.com/GLOBAL/_tokens.D", 
{st_mode=S_IFREG|0644, st_size=92454912, ...}) = 0
open("/usr/local/mail/lists/greatcircle.com/GLOBAL/_tokens.D", 
O_RDWR|O_LARGEFILE) = 8
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
read(8, "\0\0\0\0\0\0\0\0\0\0\0\0a\25\6\0\5\0\0\0\0\20\0\0\r\0\0"..., 
512) = 512
close(8)                                = 0
write(2, "--== Problem allocating database"..., 183) = 183
gettimeofday({1151513766, 228978}, NULL) = 0
gettimeofday({1151513766, 229063}, NULL) = 0
close(7)                                = 0
close(6)                                = 0

-- 
Brent Chapman <[email protected]> -- Great Circle Associates, Inc.
Specializing in network infrastructure for Silicon Valley since 1989
For info about us and our services, please see http://www.greatcircle.com/
Great Circle Waypoints Blog: http://www.greatcircle.com/blog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.