screen - problem z ponownym podpieciem.
Paweł Sikora
pluto at agmk.net
Tue Jan 22 14:51:08 CET 2013
On Tuesday 22 of January 2013 14:43:14 Paweł Sikora wrote:
> witam,
>
> ostatnio cos nie dziala mi 'screen -Urd'.
>
> po normalnym odpieciu:
> (...)
> [detached from 17935.pts-29.hal]
>
> ponownie przypiecie sie sypie:
>
> $ screen -Urd
> There is a screen on:
> 17935.pts-29.hal (Dead ???)
> Remove dead screens with 'screen -wipe'.
> There is no screen to be detached.
>
> $ ps aux|grep -i screen
> pawels 3010 0.0 0.0 123652 936 pts/29 S<+ 14:25 0:00 grep -i screen
> pawels 17935 0.0 0.0 144476 4148 ? S<s 12:54 0:00 SCREEN -U
>
> $ rpm -q screen
> screen-4.1.0-3.x86_64
>
> $ ls -l ~/.screen
> total 0
> prw------- 1 pawels users 0 Jan 22 14:24 17935.pts-29.hal
z ciekawostek dodam, ze w logu strace jest taki flood:
(...)
getrlimit(RLIMIT_NOFILE, {rlim_cur=64*1024, rlim_max=64*1024}) = 0
close(65535) = -1 EBADF (Bad file descriptor)
close(65534) = -1 EBADF (Bad file descriptor)
close(65533) = -1 EBADF (Bad file descriptor)
close(65532) = -1 EBADF (Bad file descriptor)
(...)
close(6) = -1 EBADF (Bad file descriptor)
close(5) = -1 EBADF (Bad file descriptor)
close(4) = -1 EBADF (Bad file descriptor)
close(3) = -1 EBADF (Bad file descriptor)
a potem juz sam zglaszany blad:
(...)
openat(AT_FDCWD, "/ahome/pawels/.screen", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 3 entries */, 32768) = 88
stat("/ahome/pawels/.screen/17935.pts-29.hal", {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
geteuid() = 1074
getegid() = 500
open("/ahome/pawels/.screen/17935.pts-29.hal", O_WRONLY|O_NONBLOCK) = -1 ENXIO (No such device or address)
geteuid() = 1074
getegid() = 500
geteuid() = 1074
getegid() = 500
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
fstat(1, {st_mode=S_IFREG|0644, st_size=4801921, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9a61785000
geteuid() = 1074
getegid() = 500
write(1, "There is a screen on:\r\n\t17935.pt"..., 130There is a screen on:
17935.pts-29.hal (Dead ???)
Remove dead screens with 'screen -wipe'.
There is no screen to be detached.
) = 130
exit_group(1)
More information about the pld-devel-pl
mailing list