Init script slowness

Thomas Cataldo tcataldo at gmail.com
Sun Oct 9 17:44:05 UTC 2011


On Sun, Oct 9, 2011 at 7:39 PM, Thomas Cataldo <tcataldo at gmail.com> wrote:

> Hi,
>
> Thanks for all your infos. Your objections regarding my patch had me
> looking into how I run the script.
>
> I run the script from a Java VM. Understanding that you don't have the
> problem, I played with the "-Xrs" of the JVM that prevents it from
> interfering with sigquit... without any luck.
>
> Any idea how I can get a better insight at my problem ?
>
>
My strace on cyrmaster when running my java process looks like this :

select(31, [7 9 12 14 15 17 18 20 21 24 27 30], NULL, NULL, {6, 991340}) = 0
(Timeout)
gettimeofday({1318182048, 388582}, NULL) = 0
gettimeofday({1318182048, 388680}, NULL) = 0
gettimeofday({1318182048, 388734}, NULL) = 0
gettimeofday({1318182048, 388785}, NULL) = 0
gettimeofday({1318182048, 389013}, NULL) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 32
connect(32, {sa_family=AF_FILE, path="/var/agentx/master"}, 110) = -1 ENOENT
(No such file or directory)
close(32)                               = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 32
connect(32, {sa_family=AF_INET, sin_port=htons(705),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 ECONNREFUSED (Connection refused)
close(32)                               = 0
write(2, "Warning: Failed to connect to th"..., 64) = 64
gettimeofday({1318182048, 389802}, NULL) = 0
gettimeofday({1318182048, 389895}, NULL) = 0
gettimeofday({1318182048, 390002}, NULL) = 0
select(31, [7 9 12 14 15 17 18 20 21 24 27 30], NULL, NULL, {3, 0}) = 0
(Timeout)
gettimeofday({1318182051, 393240}, NULL) = 0
gettimeofday({1318182051, 393293}, NULL) = 0
gettimeofday({1318182051, 393341}, NULL) = 0
gettimeofday({1318182051, 393406}, NULL) = 0
gettimeofday({1318182051, 393551}, NULL) = 0
gettimeofday({1318182051, 393602}, NULL) = 0
gettimeofday({1318182051, 393668}, NULL) = 0
select(31, [7 9 12 14 15 17 18 20 21 24 27 30], NULL, NULL, {10, 0}) = ?
ERESTARTNOHAND (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---
rt_sigaction(SIGTERM, {SIG_IGN, [], SA_RESTORER, 0x7f9fbaf35af0}, NULL, 8) =
0
kill(0, SIGTERM)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = 0
stat("/var/lib/snmp/cyrusMaster.conf", 0x7fff591ff7a0) = -1 ENOENT (No such
file or directory)
umask(077)                              = 022
stat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib/snmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/lib/snmp/cyrusMaster.conf", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1
EACCES (Permission denied)
write(2, "read_config_store open failure o"..., 65) = 65
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20111009/425c3ed5/attachment.html>


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list