slow CGI with open socket

andu undo at cloud9.net
Mon Mar 25 10:09:01 EST 2002


LiangTyan Fui wrote:
> 
> On 3/25/02 5:07 PM, andu wrote:
> 
> > LiangTyan Fui wrote:
> >>
> >> OK list, here is a problem that I have no answer for the last 2 days.
> >> I am working on Linux based MetaCard CGI, everything went smoothly by far
> >> except when I was trying to use "open socket".
> >> When a "open socket" command is used, the script took unreadably longer time
> >> to exit, even without any problem. I've tried to run the script under Apache
> >> as CGI and directly from the shell, both yield the same result.
> >
> > Same here. The socket actually takes a long time to close for some
> > reason.
> 
> Any workaround? Or should I bug report this?

Not sure this is a bug; if my memory is not all gone Scott might have
told me a long time ago that sockets take a while to close but I might
be wrong. One thing I can think of is to exit the handler when you're
done (exit startup).

> 
> --
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard

-- 
____________________
Regards, Andu Novac



More information about the metacard mailing list