jimj <[email protected]> writes:

> Hello,
>
> I noticed after a couple hours the mw-serve daemon locks up and fails
> to process documents, but working fine before this state. This has
> been built on Debian 6 w/ Python 2.6.6... I'm getting this strace
> output attached to the process and seeing this continually:
>
> [...]
>
> Once an inbound request comes in strace shows:
>
> select(4, [3], [], [], {0, 500000})     = 1 (in [3], left {0, 81708})
> accept(3, {sa_family=AF_INET, sin_port=htons(37438),
> sin_addr=inet_addr("70.85.100.83")}, [16]) = 4
> waitpid(2276, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WNOHANG) = 2276
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
> SIGCHLD, child_tidptr=0xb74e9728) = 2297
> close(4)                                = 0
> select(4, [3], [], [], {0, 500000})     = ? ERESTARTNOHAND (To be
> restarted)
> --- SIGCHLD (Child exited) @ 0 (0) ---
>
> Anybody have any ideas?

this looks pretty normal to me. mw-serve waits for an incoming
connection, accepts it, forks itself and the parent then closes the
socket (the child process is handling it).

Do you have any log output? Could this be related to the other issue you
reported ("UnicodeDecodeError: 'ascii' codec can't decode byte")?

-- 
Cheers
Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mwlib?hl=en.

Reply via email to