MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: MiniVend Crash on Digital Unix






> ******    message to minivend-users from mikeh@minivend.com     ******
>
> Quoting Bill (bill@webteam.net):
> > ******    message to minivend-users from "Bill" <bill@webteam.net>
******
> >
> > I've located the cause of the crash.
> >
> >     &$Sig_inc;
> >     &$Sig_dec;
> >
> > When commented out, MV runs fine.
> >
> > Does anyone know what these do and why they are in the code?  Would it
hurt
> > to remove them?
> >
>
> Yes. This causes the server count to be wrong, though you probably
> won't see a problem on a lightly loaded server with a sufficiently
> high value of MaxServers.....
>
> Sounds for some reason that Digital UNIX in that version doesn't
> support the USR1 and USR2 signals; or the Perl is configured with
> the wrong includes. That is a defect I believe, since I can't believe
> that they don't intend to support those. (I guess they aren't in
> POSIX, so I can't complain about that.)
>

Digital Unix does support USR1 and USR2.  It appears these signals are
passing as they should, but admittingly, they are related to MV hanging.  I
can spawn off a number of processes and the count is kept okay.  It's only
when MV is hit fast that it actually hangs.

Bill



Search for: Match: Format: Sort by: