Mailinglist Archive: proxy-suite (4 mails)
| < Previous | Next > |
Re: [proxy-suite] Log message: Thread creation problems Interrupted system call
- From: Marius Tomaschewski <mt@xxxxxxx>
- Date: Tue, 29 Jul 2003 11:22:03 +0000 (UTC)
- Message-id: <20030729110126.GA1970@xxxxxxx>
On Tue, Jul 29, 2003 at 09:27:12AM +0200, Alexandra.Kleijn@xxxxxxxxxxxxxxxx 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 <mt@xxxxxxx>
--
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
> 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 <mt@xxxxxxx>
--
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
| < Previous | Next > |