Re: Log message: Thread creation problems Interrupted system call
Marius Tomaschewski <[email protected]> Tue, 29 Jul 2003 13:01:26 +0200
| Newsgroups | gmane.linux.suse.proxy-suite |
|---|---|
| Organization | SuSE Product Developement |
| Message-ID | <[email protected]> |
On Tue, Jul 29, 2003 at 09:27:12AM +0200, [email protected] wrote: > Hi list, Hi! > I get messages like this in my system log every once in a while: > > Jul 26 00:25:54 server proxy: Thread creation problems Interrupted system > call This is not a proxy-suite message. Check your other proxies. > Can anyone tell me what this means? It seems, a program trys to start a thread and gets an error in some function, but it doesn't check the errno value if it is EINTR or not. For example - using read, it should be something like: do { cnt = read(fd, buf, siz); } while(-1 == cnt && EINTR == errno); if(-1 == cnt) { ==> handle error } Instead of just a: cnt = read(fd, buf, siz); if(-1 == cnt) { ==> handle error } Kind regards, Marius Tomaschewski <[email protected]> -- SuSE Linux AG, Nürnberg -- Product Developement PGP public key on: http://www.suse.de/~mt/mt.pgp DF17 271A AD15 006A 5BB9 6C96 CA2F F3F7 373A 1CC0 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]