Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Cedric Blancher
On 30 May 2013 16:15, Edward Ned Harvey (openindiana) wrote: > Here's the problem I'm trying to solve: SMF service is configured to launch > things like VirtualBox during startup / shutdown. This startup process can > take a long time (10, 20 minutes) so if there's a problem of any kind for an

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Edward Ned Harvey (openindiana)
> From: James Carlson [mailto:carls...@workingcode.com] > > At least for me, when an SMF method takes time, I end up with that "*" > marker in the svcs output, and it doesn't let me to do overlapping changes. Huh. Now I go explicitly check, and I see the same thing. As long as the service is i

Re: [OpenIndiana-discuss] mysql-connector-java OI very slow

2013-05-31 Thread dormitionsk...@hotmail.com
On May 31, 2013, at 1:23 PM, dormitionsk...@hotmail.com wrote: > We brought our first OI server online a couple of days ago, and we've been > having problems with our Java Swing database applications being very slow. > That is, the queries that are hitting the mysql 5.1 server on the OI box are

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Jim Klimov
On 2013-05-31 13:41, Edward Ned Harvey (openindiana) wrote: If LOCKDIR becomes stale (for example, system power cycled while lock existed) any script that *has* lock guarantees to release it in less than 60 seconds. So if the BREAKLOCK script detects LOCK exists for more than 60 seconds, assum

Re: [OpenIndiana-discuss] Adobe Flash crashes with Firefox 20 & 21 on OI_151a8

2013-05-31 Thread Udo Grabowski (IMK)
On 31/05/2013 20:33, Marion Hakanson wrote: ironsides.med...@gmail.com said: Unfortunately, rolling back to Firefox 17 ESR did not help. Same symptoms. YouTube was working fine before, on 151a7... That's why I posted the dumps, I thought maybe they would be helpful to the OI devs. I guess I can

[OpenIndiana-discuss] mysql-connector-java OI very slow

2013-05-31 Thread dormitionsk...@hotmail.com
We brought our first OI server online a couple of days ago, and we've been having problems with our Java Swing database applications being very slow. That is, the queries that are hitting the mysql 5.1 server on the OI box are now very slow. This does not appear to be a problem with database a

Re: [OpenIndiana-discuss] Adobe Flash crashes with Firefox 20 & 21 on OI_151a8

2013-05-31 Thread Marion Hakanson
ironsides.med...@gmail.com said: > Unfortunately, rolling back to Firefox 17 ESR did not help. Same symptoms. > YouTube was working fine before, on 151a7... That's why I posted the dumps, > I thought maybe they would be helpful to the OI devs. I guess I can't roll > back, as I have enabled the new

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread James Carlson
On 05/31/13 12:36, Edward Ned Harvey (openindiana) wrote: >> From: Udo Grabowski (IMK) [mailto:udo.grabow...@kit.edu] >> >> If you don't understand SMF (which is a bit clumsy, but indeed has >> all what you want), use this little generator, it will do the hard >> work for you: >> >>

Re: [OpenIndiana-discuss] Adobe Flash crashes with Firefox 20 & 21 on OI_151a8

2013-05-31 Thread Bryan N Iotti
Hi there, thank you for the quick answer. Unfortunately, rolling back to Firefox 17 ESR did not help. Same symptoms. YouTube was working fine before, on 151a7... That's why I posted the dumps, I thought maybe they would be helpful to the OI devs. I guess I can't roll back, as I have enabled the

Re: [OpenIndiana-discuss] Adobe Flash crashes with Firefox 20 & 21 on OI_151a8

2013-05-31 Thread Udo Grabowski (IMK)
On 31/05/2013 19:11, Bryan N Iotti wrote: Hi all, I can't seem to be able to view YouTube videos on OI_151a8 using Firefox 20 or 21 and Adobe Flash 11.2. When I go to the page for a video, any video apparently, Firefox seems to load the page and then hangs for 20 seconds before reporting that t

[OpenIndiana-discuss] Adobe Flash crashes with Firefox 20 & 21 on OI_151a8

2013-05-31 Thread Bryan N Iotti
Hi all, I can't seem to be able to view YouTube videos on OI_151a8 using Firefox 20 or 21 and Adobe Flash 11.2. When I go to the page for a video, any video apparently, Firefox seems to load the page and then hangs for 20 seconds before reporting that the Flash plugin crashed. I have core

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Edward Ned Harvey (openindiana)
> From: Udo Grabowski (IMK) [mailto:udo.grabow...@kit.edu] > > If you don't understand SMF (which is a bit clumsy, but indeed has > all what you want), use this little generator, it will do the hard > work for you: > > That's a pretty cool generator. But apparently, I un

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Udo Grabowski (IMK)
On 31/05/2013 16:44, Udo Grabowski (IMK) wrote: On 31/05/2013 13:41, Edward Ned Harvey (openindiana) wrote: From: Gary Mills [mailto:gary_mi...@fastmail.fm] SMF is actually well documented, but you do have to jump around from man page to man page. Start with `man smf'. There are also lots of

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Udo Grabowski (IMK)
On 31/05/2013 13:41, Edward Ned Harvey (openindiana) wrote: From: Gary Mills [mailto:gary_mi...@fastmail.fm] SMF is actually well documented, but you do have to jump around from man page to man page. Start with `man smf'. There are also lots of examples to follow, both of manifests and methods

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Hugh McIntyre
Gary already pointed to SMF contracts, but one other option if you want to use pure locking is to use the "lockfile" program that comes with procmail, for email. Even though this may be a bit heavy handed for performance. If you know you have a limited use case (all processes on the same ho

Re: [OpenIndiana-discuss] illumos install problem

2013-05-31 Thread Alexander Pyhalov
On 05/31/2013 15:31, Alexander Pyhalov wrote: Hello. I've just built illumos-gate in zone and now I'm trying to install it in the base system. However, pkg exits with error during update: # ./usr/src/tools/scripts/onu -t illumos-2013-05-30-patched -d /zones/build/root/export/home/build/srcs/illu

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Laurent Blume
On 31/05/13 13:15, Edward Ned Harvey (openindiana) wrote: I'm not sure what the default is for solaris / openindiana. For the problem at hand (SMF service) obviously, it doesn't matter what the linux defaults are. ;-) Of course I assumed we were compliant with filesystem(4) here ;-) For wha

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Edward Ned Harvey (openindiana)
> From: Gary Mills [mailto:gary_mi...@fastmail.fm] > > SMF is actually well documented, but you do have to jump around from > man page to man page. Start with `man smf'. There are also lots of > examples to follow, both of manifests and methods. They are all text > files. Ok, so here's a quasi

[OpenIndiana-discuss] illumos install problem

2013-05-31 Thread Alexander Pyhalov
Hello. I've just built illumos-gate in zone and now I'm trying to install it in the base system. However, pkg exits with error during update: # ./usr/src/tools/scripts/onu -t illumos-2013-05-30-patched -d /zones/build/root/export/home/build/srcs/illumos-gate/packages/i386/nightly/ Created suc

Re: [OpenIndiana-discuss] shell script mutex locking or process signaling

2013-05-31 Thread Edward Ned Harvey (openindiana)
> From: Laurent Blume [mailto:laurent...@elanor.org] > > That's why I pointed out mine are in /tmp or /var/run - tmpfs, so it's > guaranteed cleared on reboot, graceful or not :-) The behavior of clearing out /tmp is a configurable feature, and the default varies by OS. Some OSes clear it on ev