Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2016-06-06

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:40 mickey ranguard: that's just a dump of File::stat. can be changed - care to open an issue?
07:04 oiami joined #metacpan
07:14 neilb joined #metacpan
07:26 Lee joined #metacpan
08:08 Relequestual joined #metacpan
08:11 neilb joined #metacpan
08:49 metacpan joined #metacpan
08:49 metacpan [cpan-api] mickeyn created mickey/removed_stat_gid_uid (+1 new commit): https://git.io/voJjN
08:49 metacpan cpan-api/mickey/removed_stat_gid_uid 4841942 Mickey Nasriachi: remove gid & uid from file stat
08:49 metacpan left #metacpan
08:50 mickey nm, opened a PR :)
08:58 ranguard mickey++
09:06 neilb_ joined #metacpan
12:07 neilb joined #metacpan
13:12 oalders mickey++
13:12 metacpan joined #metacpan
13:12 metacpan [cpan-api] oalders pushed 1 new commit to mi/es2: https://git.io/voUuP
13:12 metacpan cpan-api/mi/es2 af7850c Olaf Alders: Merge pull request #492 from CPAN-API/mickey/removed_stat_gid_uid...
13:12 metacpan left #metacpan
13:12 metacpan joined #metacpan
13:12 metacpan [cpan-api] oalders deleted mickey/removed_stat_gid_uid at 4841942: https://git.io/voUu1
13:12 metacpan left #metacpan
13:36 metacpan joined #metacpan
13:36 metacpan [cpan-api] mickeyn pushed 1 new commit to mi/es2: https://git.io/voU2p
13:36 metacpan cpan-api/mi/es2 6d28864 Mickey Nasriachi: fix 'undefined' warning
13:36 metacpan left #metacpan
13:39 mickey requeueing jobs with warnings (shouldn't take too long, we have < 1500 of those)
14:14 ranguard btw, Minion seems to return json for the queue stats, when it was just strings before - that broke my monitoring
14:14 ranguard but was re-writing it in anycase
14:17 jberger ranguard: ?
14:17 mickey it looks more like a hash dump (=>)
14:20 mickey I wonder why it reports: "inactive_workers" => 4
14:21 mickey the 3 machines have 1 process each... where's the 4th coming from?
14:22 jberger a process isn't a worker
14:22 jberger in fact the default is for each process to allow two worker forks
14:22 jberger (that is the jobs option)
14:22 mickey each one is running with -j 14
14:23 mickey so this number is still confusing
14:23 jberger how many active workers do you have?
14:23 mickey 3 machines x -j 14
14:24 jberger but what does it tell you?
14:24 mickey "active_jobs" => 0, "inactive_workers" => 4
14:24 mickey "active_workers" => 0,
14:25 jberger ok one moment, I'm going to check on my work machine and make sure I'm telling you the right things
14:27 ranguard jberger: well, or my regex is duff, eitherway I've switched to using the actual  module which is much better :)
14:27 ranguard rather than parsing the cmdline output :)
14:27 jberger mickey: I was wrong, mea culpa
14:27 jberger it doesn't report -j values as different workers
14:27 jberger just the number of actual processes
14:28 jberger ranguard: yeah, the actual minion api is better than reading in the command line
14:28 jberger are you guys using the Minion::Monitor too? it gives this same info as JSON
14:28 mickey so we have an extra machine connected to the queue?
14:28 mickey ranguard: ^^
14:28 jberger mickey: looks that way to me
14:29 jberger you could look into the sql and check the pids
14:29 mickey i don't see any of the 3 running more than one instance
14:29 jberger s/sql/database/
14:32 jberger anyway workers that haven't heartbeated in too long are supposed to be cleaned up by the occaisonal repair
14:40 ranguard mickey: we only have 3 boxes... but could be 1 box is running 2 master workers by accident maybe?
14:42 mickey ranguard: I checked in ps output... only see 1 process per machine
14:51 ranguard mickey: wierd
14:52 jberger go into postgres and look at the minion_workers table
14:52 jberger it will tell you host/pid of each process
14:52 jberger and no there isn't (to my knowledge) any public api way of looking at this, but still
14:53 mickey ok, i see 2 records for lw-mc-01
14:53 mickey one of them is a non-existing process id
14:54 mickey it's from 2 days ago
16:36 neilb joined #metacpan
18:34 neilb_ joined #metacpan
19:13 jnbek joined #metacpan
19:59 neilb_ joined #metacpan

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary