[Touch-packages] [Bug 1457400] Re: linconnect_server.py hangs on shut down

2015-05-22 Thread Martin Pitt
This probably got introduced with the fix for bug 1448259. So, this
general behaviour is correct in the sense that processes should not be
killed immediately after SIGTERMing them. But 90s is a bit much for
session shutdowns, this could be reduced to something like 30 s. This is
still a long session shutdown, but you really wan this if e. g.
LibreOffice asks you about unsaved documents and the like.

I don't know what the timeout under upstart was, but apparently it was a
lot smaller.

** Summary changed:

- linconnect_server.py hangs on shut down
+ reduce 90s session kill timeout if the session does not shutdown cleanly

** Changed in: systemd (Ubuntu)
   Status: Incomplete = Confirmed

** Changed in: systemd (Ubuntu)
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1457400

Title:
  reduce 90s session kill timeout if the session does not shutdown
  cleanly

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  I use Ubuntu 15.04 with Unity, I have a SSD drive also. Very recently
  onwards the ubuntu is taking long to shut down nearly 1:30 minutes.

  I checked the shutdown log messages and I get the follow message.

  A stop job is running for Session c2 of user * (25s/ 1min 30 s)

  It count downs till 1:30 minutes and then shutdown the machine.

  Why is it happening.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1457400/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1457400] Re: linconnect_server.py hangs on shut down

2015-05-22 Thread Johny George
I ran the command .
johny@johny-laptop:~$ pkill -fe linconnect_server.py
python2 killed (pid 2469)

But its not actually getting killed.

If I go to system monitor and see, the process is still there.

If I kill the process by right clicking it System monitor and pressing
kill. The process gets killed. And when I try to shut-down after that
its back to normal.

If you could see this, I installed it like this. 
http://www.webupd8.org/2014/01/get-android-notifications-on-your.html
There was no exception and it works nicely.

I have been using it for very long, its not something that I installed
recently. Its been working fine for long. But this problem only started
recently only.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1457400

Title:
  linconnect_server.py hangs on shut down

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  I use Ubuntu 15.04 with Unity, I have a SSD drive also. Very recently
  onwards the ubuntu is taking long to shut down nearly 1:30 minutes.

  I checked the shutdown log messages and I get the follow message.

  A stop job is running for Session c2 of user * (25s/ 1min 30 s)

  It count downs till 1:30 minutes and then shutdown the machine.

  Why is it happening.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1457400/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1457400] Re: linconnect_server.py hangs on shut down

2015-05-21 Thread Martin Pitt
** Summary changed:

- Ubuntu taking long to shutdown
+ linconnect_server.py hangs on shut down

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1457400

Title:
  linconnect_server.py hangs on shut down

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  I use Ubuntu 15.04 with Unity, I have a SSD drive also. Very recently
  onwards the ubuntu is taking long to shut down nearly 1:30 minutes.

  I checked the shutdown log messages and I get the follow message.

  A stop job is running for Session c2 of user * (25s/ 1min 30 s)

  It count downs till 1:30 minutes and then shutdown the machine.

  Why is it happening.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1457400/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1457400] Re: linconnect_server.py hangs on shut down

2015-05-21 Thread Martin Pitt
What happens at shutdown is that all processes are sent SIGTERM, so that
they have a chance to intercept, save their state/clean up, etc. After a
timeout (default 90s) SIGKILL is sent. So it seems linconnect_server.py
does not actually shut down on SIGTERM?

I tried to download and install it, but the install.sh crashed in pip
with

Exception:
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/pip/basecommand.py, line 122, in main
status = self.run(options, args)
  File /usr/lib/python2.7/dist-packages/pip/commands/install.py, line 304, in 
run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, 
bundle=self.bundle)
  File /usr/lib/python2.7/dist-packages/pip/req.py, line 1178, in 
prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File /usr/lib/python2.7/dist-packages/pip/index.py, line 292, in 
find_requirement
elif is_prerelease(version) and not (self.allow_all_prereleases or 
req.prereleases):
  File /usr/lib/python2.7/dist-packages/pip/util.py, line 739, in 
is_prerelease
return any([any([y in set([a, b, c, rc, dev]) for y in x]) for x 
in parsed])
TypeError: 'int' object is not iterable

Can you try pkill -fe linconnect_server.py in a running session and
see if linconnect_server continues to run after that?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1457400

Title:
  linconnect_server.py hangs on shut down

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  I use Ubuntu 15.04 with Unity, I have a SSD drive also. Very recently
  onwards the ubuntu is taking long to shut down nearly 1:30 minutes.

  I checked the shutdown log messages and I get the follow message.

  A stop job is running for Session c2 of user * (25s/ 1min 30 s)

  It count downs till 1:30 minutes and then shutdown the machine.

  Why is it happening.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1457400/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp