Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?
Thank you, Bob. Finally I found the root cause is that pollsys is called too frequently. and this problem seems quite normal in Solaris family. I don't think I can solve it on my own, Racket does not provide some option like -PerfDataSamplingInterval like Java does provide for Solaris. So is there any other workarounds? Meanwhile I have to restart the daemon as long as it is busy in doing nothing worthy. and more, would it be better to use some other event completion frameworks APIs (say, port_create and friends) to take the place of poll(2)/poll(7d)? Thanks in advance? On Thu, Jun 25, 2015 at 3:00 AM, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Wed, 24 Jun 2015, WarGrey Gyoudmon Ju wrote: Hello. I am developing a web server in Racket, and it works well in MacOSX and Linux. The most weird problem is that, in OpenIndiana it does not want to sleep when idling, it just load the entire CPU core. Could you please help me to solve this problem? You can use 'strace' or 'dtrace' (from DTrace Toolkit) to observe the system calls and likely see why the program is spinning. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?
Hi Just edit the next configuration file:/etc/power.conf Insert or change the cpupm enable line to cpupm enable poll-mode May be need to restart the system then check it with these commands: kstat -p cpu_info:::supported_frequencies_Hz kstat -p cpu_info:::current_clock_Hz It works for me AMD/Intel PC. BR Brogyi 2015-06-24 7:49 GMT+00:00 WarGrey Gyoudmon Ju juzhenli...@gmail.com: Hello. I am developing a web server in Racket, and it works well in MacOSX and Linux. The most weird problem is that, in OpenIndiana it does not want to sleep when idling, it just load the entire CPU core. Could you please help me to solve this problem? Thanks in advance. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] /hipster: thunderbird (firefox) doesn't provide spell checking funcionality
Hi Jonathan, sure. Same as for TB: https://addons.mozilla.org/en-US/firefox/addon/british-english-dictionary-/ https://addons.mozilla.org/en-US/firefox/addon/german-dictionary/?src=api https://addons.mozilla.org/en-US/firefox/addon/3497 Regards. Predrag Zečević On 06/30/15 01:13 PM, Jonathan Adams wrote: Silly question, you have installed the dictionary into Firefox? On 30 June 2015 at 09:53, Predrag Zečević - Unix Systems Administrator predrag.zece...@2e-systems.com wrote: Hi All, does anyone knows how to fix lack of spell checking feature on /hipster thunderbird (Check spelling before sending and Enable spell check as you type are enabled in Composition - Spelling set-up): mail/thunderbird 31.7.0-2015.0.1.0 For example, this one does it properly: https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/31.7.0/contrib/solaris_tarball/thunderbird-31.7.0.en-US.opensolaris-i386.tar.bz2 (but it has another problem: cannot save attachment or attach file - dumps core on those attempts). Installed (in booth TB cases) following add-ons: https://addons.mozilla.org/en-US/thunderbird/addon/british-english-dictionary-/ https://addons.mozilla.org/en-US/thunderbird/addon/united-states-english-spellche/ https://addons.mozilla.org/en-US/thunderbird/addon/german-dictionary/ My /hipster installation has installed: $ pkg list | grep spell library/desktop/gtkspell 2.0.16-2015.0.0.0 i-- library/myspell/dictionary/en 2.30.0-0.151.1.8 i-- library/spell-checking/enchant1.6.0-2015.0.0.0 i-- text/aspell 0.60.6.1-2014.0.1.0 i-- web/php-54/extension/php-pspell 5.4.41-2015.0.1.0 i-- web/php-55/extension/php-pspell 5.5.25-2015.0.1.0 i-- So, any ideas? Thank you and best regards. P.S: Checked FF: web/browser/firefox 24.8.1-2015.0.0.2 It suffers from same problem (also FF 37 provided generously by Martin Bochnig) P.S. Sorry if I made spelling mistakes :-) -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] /hipster: thunderbird (firefox) doesn't provide spell checking funcionality
is myspell itself actually installed on your system, or just the dictionaries? It did used to just work for me on Illumos ... on Ubuntu I take to installing any package with en-gb in it: root@jadlaptop:~# apt-cache search en-gb | grep en-gb libreoffice-help-en-gb - office productivity suite -- English_british help libreoffice-l10n-en-gb - office productivity suite -- English_british language package myspell-en-gb - English_british dictionary for myspell thunderbird-locale-en-gb - Transitional English language pack for Thunderbird childsplay-alphabet-sounds-en-gb - British sound files for childsplay root@jadlaptop:~# aptitude search spell | grep '^i' i aspell - GNU Aspell spell-checker i aspell-en - English dictionary for GNU Aspell i hunspell-en-ca - English_canadian dictionary for hunspell i hunspell-en-us - English_american dictionary for hunspell i libaspell15 - GNU Aspell spell-checker runtime library i libhunspell-1.3-0 - spell checker and morphological analyzer ( i myspell-en-au - English_australian dictionary for myspell i myspell-en-gb - English_british dictionary for myspell i myspell-en-za - English_southafrican dictionary for myspel I don't have access to a working Firefox on Illumos atm to check. Give me a few days and I'll get around to re-installing a virtualbox image. Jon On 30 June 2015 at 12:51, Predrag Zečević - Unix Systems Administrator predrag.zece...@2e-systems.com wrote: Hi Jonathan, sure. Same as for TB: https://addons.mozilla.org/en-US/firefox/addon/british-english-dictionary-/ https://addons.mozilla.org/en-US/firefox/addon/german-dictionary/?src=api https://addons.mozilla.org/en-US/firefox/addon/3497 Regards. Predrag Zečević On 06/30/15 01:13 PM, Jonathan Adams wrote: Silly question, you have installed the dictionary into Firefox? On 30 June 2015 at 09:53, Predrag Zečević - Unix Systems Administrator predrag.zece...@2e-systems.com wrote: Hi All, does anyone knows how to fix lack of spell checking feature on /hipster thunderbird (Check spelling before sending and Enable spell check as you type are enabled in Composition - Spelling set-up): mail/thunderbird 31.7.0-2015.0.1.0 For example, this one does it properly: https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/31.7.0/contrib/solaris_tarball/thunderbird-31.7.0.en-US.opensolaris-i386.tar.bz2 (but it has another problem: cannot save attachment or attach file - dumps core on those attempts). Installed (in booth TB cases) following add-ons: https://addons.mozilla.org/en-US/thunderbird/addon/british-english-dictionary-/ https://addons.mozilla.org/en-US/thunderbird/addon/united-states-english-spellche/ https://addons.mozilla.org/en-US/thunderbird/addon/german-dictionary/ My /hipster installation has installed: $ pkg list | grep spell library/desktop/gtkspell 2.0.16-2015.0.0.0 i-- library/myspell/dictionary/en 2.30.0-0.151.1.8 i-- library/spell-checking/enchant1.6.0-2015.0.0.0 i-- text/aspell 0.60.6.1-2014.0.1.0 i-- web/php-54/extension/php-pspell 5.4.41-2015.0.1.0 i-- web/php-55/extension/php-pspell 5.5.25-2015.0.1.0 i-- So, any ideas? Thank you and best regards. P.S: Checked FF: web/browser/firefox 24.8.1-2015.0.0.2 It suffers from same problem (also FF 37 provided generously by Martin Bochnig) P.S. Sorry if I made spelling mistakes :-) -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:
Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?
Sorry, it does not work. On Wed, Jul 1, 2015 at 2:50 AM, WarGrey Gyoudmon Ju juzhenli...@gmail.com wrote: Jozsef, it does work, thank you all the same. Dell XPS On Tue, Jun 30, 2015 at 5:08 PM, Jozsef Brogyanyi bro...@gmail.com wrote: Hi Just edit the next configuration file:/etc/power.conf Insert or change the cpupm enable line to cpupm enable poll-mode May be need to restart the system then check it with these commands: kstat -p cpu_info:::supported_frequencies_Hz kstat -p cpu_info:::current_clock_Hz It works for me AMD/Intel PC. BR Brogyi 2015-06-24 7:49 GMT+00:00 WarGrey Gyoudmon Ju juzhenli...@gmail.com: Hello. I am developing a web server in Racket, and it works well in MacOSX and Linux. The most weird problem is that, in OpenIndiana it does not want to sleep when idling, it just load the entire CPU core. Could you please help me to solve this problem? Thanks in advance. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?
Jozsef, it does work, thank you all the same. Dell XPS On Tue, Jun 30, 2015 at 5:08 PM, Jozsef Brogyanyi bro...@gmail.com wrote: Hi Just edit the next configuration file:/etc/power.conf Insert or change the cpupm enable line to cpupm enable poll-mode May be need to restart the system then check it with these commands: kstat -p cpu_info:::supported_frequencies_Hz kstat -p cpu_info:::current_clock_Hz It works for me AMD/Intel PC. BR Brogyi 2015-06-24 7:49 GMT+00:00 WarGrey Gyoudmon Ju juzhenli...@gmail.com: Hello. I am developing a web server in Racket, and it works well in MacOSX and Linux. The most weird problem is that, in OpenIndiana it does not want to sleep when idling, it just load the entire CPU core. Could you please help me to solve this problem? Thanks in advance. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Who is trying to break in ?
On Mon, Jun 29, 2015 at 2:02 AM, Jim Klimov jimkli...@cos.ru wrote: Got no qualms about ssh (or openvpn) on port 443 - indeed, if one sets up something non-standard, gotta be ready for the consequences. And to all ids'es and sniffers, cryptotraffic looks much the same (different dynamic flow patterns may be discerned by the smarter filters out there though). I think you underestimate sniffers and IDS's. While it's true that individual TCP packets in an encrypted stream may look the same, TLS and SSH have very different initial negotiation routines. I've never encountered a sniffer that did protocol identification and didn't know the difference. Now, distinguishing between two protocols that *both* use TLS would be more difficult. -- D. Brodbeck System Administrator, Linguistics University of Washington GPG key fingerprint: 0DB7 4B50 8910 DBC5 B510 79C4 3970 2BC3 2078 D875 ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] /hipster: thunderbird (firefox) doesn't provide spell checking funcionality
Silly question, you have installed the dictionary into Firefox? On 30 June 2015 at 09:53, Predrag Zečević - Unix Systems Administrator predrag.zece...@2e-systems.com wrote: Hi All, does anyone knows how to fix lack of spell checking feature on /hipster thunderbird (Check spelling before sending and Enable spell check as you type are enabled in Composition - Spelling set-up): mail/thunderbird 31.7.0-2015.0.1.0 For example, this one does it properly: https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/31.7.0/contrib/solaris_tarball/thunderbird-31.7.0.en-US.opensolaris-i386.tar.bz2 (but it has another problem: cannot save attachment or attach file - dumps core on those attempts). Installed (in booth TB cases) following add-ons: https://addons.mozilla.org/en-US/thunderbird/addon/british-english-dictionary-/ https://addons.mozilla.org/en-US/thunderbird/addon/united-states-english-spellche/ https://addons.mozilla.org/en-US/thunderbird/addon/german-dictionary/ My /hipster installation has installed: $ pkg list | grep spell library/desktop/gtkspell 2.0.16-2015.0.0.0 i-- library/myspell/dictionary/en 2.30.0-0.151.1.8 i-- library/spell-checking/enchant1.6.0-2015.0.0.0 i-- text/aspell 0.60.6.1-2014.0.1.0 i-- web/php-54/extension/php-pspell 5.4.41-2015.0.1.0 i-- web/php-55/extension/php-pspell 5.5.25-2015.0.1.0 i-- So, any ideas? Thank you and best regards. P.S: Checked FF: web/browser/firefox 24.8.1-2015.0.0.2 It suffers from same problem (also FF 37 provided generously by Martin Bochnig) P.S. Sorry if I made spelling mistakes :-) -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?
On Tue, 30 Jun 2015, WarGrey Gyoudmon Ju wrote: Thank you, Bob. Finally I found the root cause is that pollsys is called too frequently. and this problem seems quite normal in Solaris family. I am pretty sure that this has nothing to do with power management (as other have suggested). The poll() call can wait for activities on file descriptors but can also be used for time-out such as for periodic event loops. Some software is written poorly and executes periodic event loops quite often. If you don't have source for the program, it might be possible to fix it by using the LD_PRELOAD enviroment variable and a tiny shared library which replaces poll() with one which insists on longer timeouts. This might cause other problems to occur in the software though. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss