Page MenuHomePhabricator

mysqldump on SGE exec host tools-exec-01 is very slow
Closed, DeclinedPublic

Description

My script: http://pastebin.com/zGDtjC64

Based on output and file existence, it seems every failed mysqldump call (due to missing database) takes one minute to end, while it's less than one second on tools-dev.


Version: unspecified
Severity: normal

Details

Reference
bz55908

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:17 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz55908.

I removed my previous job and started a new one, and tools-exec-02 is allocated. Now the script runs smoothly. The previous host was tools-exec-01.

btw In meantime, I changed the script a bit, removing " 2> /dev/null" in order to observe whether it's some abnormal error. Hope that it doesn't matter much.

(In reply to comment #2)

Is this still an issue?

I haven't observed such events recently, based on file timestamps, but I can't know whether tools-exec-01 has been allocated for them.

(In reply to comment #3)

[...]
I haven't observed such events recently, based on file timestamps, but I
can't
know whether tools-exec-01 has been allocated for them.

You can force executing a job on a specific host by requesting the "hostname" resource, i. e. "jsub -l hostname=tools-exec-03 true" will run "true" on tools-exec-03.

(In reply to comment #2)

Is this still an issue?

ok it seems better now.