Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 01 2019 19:04
    elilambnz commented #105
  • Feb 01 2019 18:31
    benftwc closed #106
  • Jan 30 2019 17:27
    Remi-Tuy commented #105
  • Oct 08 2018 22:58
    Caffeineli commented #105
  • Oct 08 2018 22:54
    Caffeineli commented #106
  • Oct 08 2018 22:53
    Caffeineli commented #105
  • Sep 18 2018 13:59
    benftwc commented #106
  • Sep 18 2018 13:56
    benftwc commented #106
  • Sep 18 2018 13:54
    benftwc opened #106
  • Aug 15 2018 19:32
    RedHatter edited #105
  • Aug 15 2018 19:31
    RedHatter commented #105
  • Aug 15 2018 19:17
    RedHatter opened #105
  • Oct 24 2017 10:37
    coveralls commented #104
  • Oct 24 2017 10:37
    Travis tableflip/guvnor#104 still failing (556)
  • Oct 24 2017 10:28
    katopz opened #104
  • Apr 04 2017 05:07
    bymaximus opened #103
  • Jan 03 2017 21:06
    kevincaradant commented #89
  • Jan 03 2017 21:06
    kevincaradant closed #89
  • Jan 03 2017 21:06
    kevincaradant commented #89
  • Dec 09 2016 12:04

    achingbrain on wrap-system

    remove socket emitter hack (compare)

Mike Chen
@mike442144
I'm now in guvnor
but got error.
Alex Potsides
@achingbrain
what error
Mike Chen
@mike442144
sudo guv list. I enter this cmd first. then run "node app.js"
if(error) throw error
^
Error: I don't have permission to access /var/run/guvnor/user.socket - please run guvnor as a user that can.
at exports._errnoException (util.js:746:11)
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1010:19)
Alex Potsides
@achingbrain
what is the output of ls -l /var/run/guvnor/user.socket
Mike Chen
@mike442144
let me see
no permission
srwxrwx--- 1 root guvnor 0 11月 26 16:52 /var/run/guvnor/user.socket
Alex Potsides
@achingbrain
sudo ls -l /var/run/guvnor
Mike Chen
@mike442144
Is that right?
Alex Potsides
@achingbrain
perhaps you need to log out and in again for the group change to take effect?
the guvnor group has rwx to /var/run/guvnor/user.socket so it looks right
Mike Chen
@mike442144
so why should I have to use root to start daemon?
Alex Potsides
@achingbrain
because it needs priveleges to run processes as different users
Mike Chen
@mike442144
Okay, I can't log out now, so I'll try to switch to root.
It works.
there is no disconnect method?
Alex Potsides
@achingbrain
the daemon object you get back from connectOrStart has a disconnect method
looks like it’s missing from the docs though
Mike Chen
@mike442144
cool , thanks.
Mike Chen
@mike442144
It's morning in your time?
Mike Chen
@mike442144
How does the guv-web communicate with the guvnor daemon remotly?
The web pull the information from remote in timing?
Mike Chen
@mike442144
will guvnor store any profile information ? say file or database.
Alex Potsides
@achingbrain
it communicates via dnode over https
apps/process info is stored in json files under /etc/guvnor
what do you mean by profile?
Mike Chen
@mike442144
heap info
I've decided to intergrate guvnor to our project.
Thank you for your help these days.
Alex Potsides
@achingbrain
heap dumps appear in the current working directory of the process in question
no worries
Mike Chen
@mike442144
so the guv daemon will not produce process info? only web pulls ?
Alex Potsides
@achingbrain
i’m not sure i follow - what do you mean by web pulls?
Mike Chen
@mike442144
does the web receive process info passively and thus update the ui?
Alex Potsides
@achingbrain
the web-ui has a server process that polls the daemon for process info, the result of which is sent via websockets to the ui
Mike Chen
@mike442144
got it, thank you
and another question :X
sorry to botter you somuch
Alex Potsides
@achingbrain
there’s only ever one polling process per daemon so it’s not like multiple web users would cause additional load on the daemon
Mike Chen
@mike442144
will the guv daemon check on the process regularly and save the process info somewhere
Alex Potsides
@achingbrain
when the web-ui’s server process polls the daemon it stores the last 1000 results in memory which the ui gets when you first load the page. the daemon doesn’t save any data anywhere.
Mike Chen
@mike442144
All right, thanks a lot.
Ehsan Aghaei
@ehsanagh
Hi, I have some issue to run the guvnor
I don't have permission to access /var/run/guvnor/user.socket - please run guvnor as a user that can.
I created one user, "nodeman" and I added that user to guvnor group
can somebody help me in this?