[ic] Weird problem
Mike Heins
mike at perusion.com
Thu Apr 7 13:40:35 EDT 2005
Quoting Stefan Hornburg (Racke) (racke at linuxia.de):
> Hello,
>
> I have a really weird problem with Interchange which refuses to run in
> normal mode but works in debug mode.
>
> This is a Debian/Sarge system on an Athlon64 box. Perl and modules
> build unthreaded (as Debian packages), hopefully I didn't miss one
> Interchange uses.
>
> Starting with the init script / interchange wrapper looks good, but
> the line
>
> Interchange server started in UNIX mode(s) (process id 2429)
>
> is missing and although the process is there, it cannot be accessed.
>
> Running in debug mode works fine.
>
> Stracing reveals the following syscalls again and again:
>
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> nanosleep({1, 0}, {1, 0}) = 0
> semget(182897355688, 182896158548, IPC_CREAT|0x95883000|0654) = -1 EINVAL (Invalid argument)
>
What is your PERL_SIGNALS mode, normal or "unsafe"?
> Does anyone have a idea which Perl module / part of Interchange calls semget ?
>
> On another machine with a similar setup (Quad Opteron) there are no such
> problems.
>
Looks like a signal interrupt problem to me. I know of no modules that
use semget, but I would suspect DBI.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.647.1295 tollfree 800-949-1889 <mike at perusion.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
More information about the interchange-users
mailing list