Thanks, I'll get on it.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Apr 2 2015
I'd be happy to play with your patch.
Very interested in this. Willing to contribute code if someone will have time to look at the patch (it doesn't have to be accepted, I just want to know that I am not stepping into something that is unlikely to get merged any time soon).
Mar 19 2015
Mar 16 2015
Effectively merging into T7567.
Feb 28 2015
Thanks, D11906 should fix this.
administrator@ubuntu:/phabricator/phabricator$ ll /var/tmp/
total 12
drwxrwxrwt 3 root root 4096 Feb 27 18:32 ./
drwxr-xr-x 14 root root 4096 Oct 24 18:31 ../
drwxrwxr-x 4 phd-user phd-user 4096 Oct 23 14:46 phd/
haha, thanks @joshuaspence
@anton.vladimirov this should have been resolved by the commits here, not sure what more information you can give us why that didn't occur.
@anton.vladimirov, what are the permissions on the /var/tmp directory?
Feb 18 2015
You are right, systemd does not execute ExecStop when running systemctl restart and it considers the service as stopped for whatever reason. I made it aware of the status of the service by adding PIDFile=/var/tmp/aphlict/pid/aphlict.pid, so it will select the appropriate command.
I can't reproduce this. Can you reproduce this if you don't use systemd? Specifically, does aphlict stop followed by aphlict start fail if run manually?
Feb 16 2015
Feb 15 2015
Pretty sure I caught this.
Feb 12 2015
I think that this is resolved now.
Feb 11 2015
Feb 4 2015
Feb 3 2015
Working at HEAD. Thanks again!
Interesting, the log line placed just before incrementing the messages.in variable is executed (a lot) but the variable stays at 0. I'll have a look.
This was due to _listeners.length being undefined in the getActiveListenerCount() function, I'll post a patch.
This is only used on the status page, so it doesn't actually affect anything.
Feb 2 2015
Feb 1 2015
Some more comments, now that I managed to get it working - aka. the server receives connection from Phabricator, though it creates a new listener every 2 seconds and they never disconnect (due to passing through nginx?).
The client-port parameter is parsed from notification.client-uri and automatically passed as an argument to aphlict start. Could the same behaviour be added to client-host? Maybe I should create a new task for that.
I have a few ideas on how to improve this.
I think I fixed this in D11423, particularly:
Getting through nginx I don't need to open another port in my firewall - I tend to close everything, and use SSH tunnels to connect to my IRC bouncer and so on - and I don't have to authorise aphlict to read my SSL private key as nginx is already configured to use SSL.
Out of curiosity, what's your reasoning for passing this through nginx instead of configuring a direct connection?
Jan 26 2015
Jan 23 2015
No, this refers to real-time notifications only. Users will see no difference in behavior (except an imperceptible delay in some lower-priority real-time notifications). This only improves scalability.
This means that users will also less bugmail, right? Our advanced users are noticing a big increase of email notifications compared to Bugzilla, with a detrimental effect. Maybe we want to wait more than a second in order to merge sequential user actions. There is a related request in Wikimedia Phabricator: Email notifications should bundle events as the web interface does
Jan 22 2015
The master server would only know about the subservers.
As an aside, I still think it would be nice to send the notification contents rather than just the key (to avoid the extra request to /notification/individual/). Possibly this would be easier with WebSockets than it would have been with Flash.
Does that solve the scaling issue though? Essentially, all Aphlict servers need to be aware of (I.e. store in memory) all clients and all subscriptions. Realistically, I wouldn't expect this to cause any issues for any installs today, but possibly as Aphlict receives more usage it might?
I believe no install will encounter issues with this for a very long time, but we can scale it like this:
Jan 21 2015
This has been discussed on the https://groups.google.com/forum/#!topic/nodejs/zF7GEoPccqw as well.
Interesting. So ./bin/aphlict debug exits with 1 but running node './support/aphlict/server/aphlict_server.js' '--client-port=22280' '--admin-port=22281' '--admin-host=localhost' '--log=/var/log/aphlict.log' exits with 0.
Jan 19 2015
Both of the linked fixes landed, so this should now be fixed in HEAD. Thanks for the report!
I'm very sneaky.
Didn't realize that @epriestley stole this one.
I forgot about the debug start of service. To confirm your suspicions @epriestley:
Two issues here:
Jan 15 2015
Jan 14 2015
Okay, that sounds reasonable.
This task is about removing an external dependency (for security and simplicity), not really swapping one for another.