Re: open - resource temporarily unavailable

2016-06-20 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Jun 19, 2016 at 05:15:47PM +, Andrey wrote: > Andrey inp.nsk.su> writes: > > > > On Fri, Jun 17, 2016 at 02:37:11PM +, Andrey wrote: > > > > tuxteam.de> writes: > > > [...] > > > Sorry I wasn't clear: I was just talking about the

Re: open - resource temporarily unavailable

2016-06-19 Thread Andrey
Andrey inp.nsk.su> writes: > > On Fri, Jun 17, 2016 at 02:37:11PM +, Andrey wrote: > > > tuxteam.de> writes: > > [...] > > Sorry I wasn't clear: I was just talking about the errno -- we still > > haven't an idea how it comes about. The manpage is but an approximation > > to reality you

Re: open - resource temporarily unavailable

2016-06-18 Thread Andrey
Mart van de Wege gmail.com> writes: > > Andrey inp.nsk.su> writes: > > > tuxteam.de> writes: > > > >> Other things to check: does that happen on any files? On a > >> specific file system? If yes: how is that one mounted? > >> > > > > It happens to any file on any ext4 partition which are

Re: open - resource temporarily unavailable

2016-06-18 Thread Andrey
tuxteam.de> writes: > > > On Fri, Jun 17, 2016 at 02:37:11PM +, Andrey wrote: > > tuxteam.de> writes: > > > > > > > > > > > On Fri, Jun 17, 2016 at 01:12:00PM +, Andrey wrote: > > > > > > [...] > > open("tst.tst", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 > > ... > > > > as it was

Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 17, 2016 at 09:03:30PM +0200, Sven Joachim wrote: > On 2016-06-17 13:31 +0200, to...@tuxteam.de wrote: > > > OK. I've got one more hint. Reading through the open(2) man page > > (assuming it is really open what's failing on you -- what

Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 17, 2016 at 02:37:11PM +, Andrey wrote: > tuxteam.de> writes: > > > > > > > On Fri, Jun 17, 2016 at 01:12:00PM +, Andrey wrote: > > > > [...] > > > > But writing a minimal Tcl program and running it through strace might

Re: open - resource temporarily unavailable

2016-06-17 Thread Sven Joachim
On 2016-06-17 13:31 +0200, to...@tuxteam.de wrote: > OK. I've got one more hint. Reading through the open(2) man page > (assuming it is really open what's failing on you -- what evidence > do you have?), EAGAIN isn't listed among the possible errno values, > but EWOULDBLOCK > >EWOULDBLOCK >

Re: open - resource temporarily unavailable

2016-06-17 Thread Sven Joachim
On 2016-06-17 18:12 +0200, Mart van de Wege wrote: > Andrey writes: > >> tuxteam.de> writes: >> >>> Other things to check: does that happen on any files? On a >>> specific file system? If yes: how is that one mounted? >>> >> >> It happens to any file on any ext4 partition

Re: open - resource temporarily unavailable

2016-06-17 Thread Mart van de Wege
Andrey writes: > tuxteam.de> writes: > >> Other things to check: does that happen on any files? On a >> specific file system? If yes: how is that one mounted? >> > > It happens to any file on any ext4 partition which are locally mounted. > > Is there a way to find out at

Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey
tuxteam.de> writes: > > > On Fri, Jun 17, 2016 at 01:12:00PM +, Andrey wrote: > > [...] > > But writing a minimal Tcl program and running it through strace might shake > out whether they do any fcntl behind the scenes... > o.k. serv:~$ cat >t.tcl set f [open tst.tst w] puts $f test

Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 17, 2016 at 01:12:00PM +, Andrey wrote: [...] > well, although it may be not convincing to you: > in Tcl it's return from - > 'open $fname w' > from man open(3tcl): > 'w Open the file for writing only. Truncate it if it exists.

Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey
tuxteam.de> writes: > > > On Fri, Jun 17, 2016 at 11:06:15AM +, Andrey wrote: > > tuxteam.de> writes: > > [...] > > > > If the problem is somehow repeatable [...] > > > It happens very rare and rather unpredictable > > sometimes when a lot of files are created > > and sometimes

Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 17, 2016 at 11:06:15AM +, Andrey wrote: > tuxteam.de> writes: [...] > > If the problem is somehow repeatable [...] > It happens very rare and rather unpredictable > sometimes when a lot of files are created > and sometimes

Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey
tuxteam.de> writes: > > > On Fri, Jun 17, 2016 at 09:24:37AM +, Andrey wrote: > > > > Sven Joachim gmx.de> writes: > > > > > > > > On 2016-06-16 21:46 +0600, Andrew P. Cherepenko wrote: > > > > > > > Hello list, > > > > 'open()' for creating file sometimes returns an error: > > > >

Re: open - resource temporarily unavailable

2016-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 17, 2016 at 09:24:37AM +, Andrey wrote: > > Sven Joachim gmx.de> writes: > > > > > On 2016-06-16 21:46 +0600, Andrew P. Cherepenko wrote: > > > > > Hello list, > > > 'open()' for creating file sometimes returns an error: > > >

Re: open - resource temporarily unavailable

2016-06-17 Thread Andrey
Sven Joachim gmx.de> writes: > > On 2016-06-16 21:46 +0600, Andrew P. Cherepenko wrote: > > > Hello list, > > 'open()' for creating file sometimes returns an error: > > couldn't open "myfile.txt": resource temporarily unavailable > > either in background process or interactively

Re: open - resource temporarily unavailable

2016-06-16 Thread Sven Joachim
On 2016-06-16 21:46 +0600, Andrew P. Cherepenko wrote: > Hello list, > 'open()' for creating file sometimes returns an error: > couldn't open "myfile.txt": resource temporarily unavailable > either in background process or interactively (ex: in Emacs when > trying to save a file). Are

open - resource temporarily unavailable

2016-06-16 Thread Andrew P. Cherepenko
Hello list, 'open()' for creating file sometimes returns an error: couldn't open "myfile.txt": resource temporarily unavailable either in background process or interactively (ex: in Emacs when trying to save a file). system: Debian 8.5 with kernel: linux-image-3.16.0-4-amd64 and