spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Issues with SC on low memory NAS - restarted - 2009/02/18 06:49 Rob/Nigel
Not sure what happend but the old thresd for htis is no longer assinged to a forum... So if its ok ill start it again

i have finaly had time to look at this agin, maily bvecause my EVA hung and i had to hard rest it now it wont even work with my index.html wokr around. SO i added a load of logiing staments to my index,php and did some more testing.

Here is the log...
Code:

 [2009.02.18 11:36:19EVA2playlist.php [2009.02.18 11:36:19EVA3users.php [2009.02.18 11:36:19EVA4file.php [2009.02.18 11:36:19EVA5patching.php [2009.02.18 11:36:19EVA6filter.php [2009.02.18 11:36:19EVA7messages.php [2009.02.18 11:36:19EVA8mediaexists.php [2009.02.18 11:36:19EVA9menu [2009.02.18 11:36:19EVA9.1patches [2009.02.18 11:36:19SQLselect value from system_prefs where name='DATABASE_PATCH' [2009.02.18 11:36:19SQLselect value from system_prefs where name='PLAYLIST_AUTOLOAD' [2009.02.18 11:36:19EVA9.2playlist [2009.02.18 11:36:19SQLSELECT name,user_id FROM users WHERE pin IS NULL [2009.02.18 11:36:19SQLSELECT count(*) FROM users WHERE user_id=AND pin IS NULL [2009.02.18 11:36:19SQLselect count(*) from system_prefs where name='LAST_USER' and value='1' [2009.02.18 11:36:19SQLselect value from system_prefs where name='USER_TIMEOUT' [2009.02.18 11:36:19SQLSELECT pin FROM users WHERE user_id=1 [2009.02.18 11:36:19SQLselect value from user_prefs where user_id and name='STYLE'



and here is the section of code it gets stuck on ..
Code:

 if ( !isset($_SESSION["playlist_autoloaded"]) && get_sys_pref('PLAYLIST_AUTOLOAD','')!=='' )     {       $fsp    get_sys_pref('PLAYLIST_AUTOLOAD');       $name   file_noext(basename($fsp));       $tracks load_pl($fsp$failed);       set_current_playlist($name$tracks);       $_SESSION["playlist_autoloaded"] = 'yes';     }   send_to_log(9,"EVA9.2: playlist","");     /**      * Output the page header immediately, as it performs the authentication check and will redirect      * the user to the "change_user" screen if there are multiple users to choose from or a password      * is required.      * If an image menu and there are any missing onFocus images then use FocusColor.      */     page_headerstr('MAIN_MENU'),'','',1,false,'','PAGE_INDEX');     send_to_log(9,"EVA9.21: header","");



It never gets to EVA9,21 or beyond.. i could not track down what it was doing.. suggestions?
cheers
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: Issues with SC on low memory NAS - restarted - 2009/02/20 07:07 OK so some addtional info..

I resinstalled Swisscenter to 1,14 with KDE and the EVA picked it up no issue, so its definately a result of the increased funcationlity. I then left the EVA on and upgraded to 1.22 via the PC and the EVA was ok. I have even put seeing red bakc on ( my fav theme) and it is ok . A little slow to begin with as the cache was poulated.

My advice never turn oiff the EVA and never leave your brother in law alone wiht it .. god knwo what he did but it took me 3 days to get th eEVA to even boo tback up !!!!

Rob/.Nigel if we cna look at the above log to see if we can set an option to disable some of the fucntinlity that is not used. i.e. even when disabling the internet services form the config page the code is still loaded.

I may even try this my self to create a small index page.

thnx
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: Issues with SC on low memory NAS - restarted - 2009/02/21 04:51 Could you try two different versions of SwissCenter for me as I have a theory...

Try 1.19.2 first (which should load quickly) and then 1.20 which, if I am correct, will load slowly. Note that you'll need to turn your media player off/on between attempts to ensure that nothing is cached in the session.

Rob
Server : Windows Home Server (HP MediaSmart EX470)
Player #1: Pinnacle Showcenter 200 (wired ethernet)
Player #2: Popcorn Hour A110 (wired ethernet)


  | | The administrator has disabled public write access.
Re: Issues with SC on low memory NAS - restarted - 2009/02/21 08:01 Rob
i iwll try this on moday after the weekend as the missues will not thank me for messing aournd with her saturday night Film viewing ...


I will let you know.
cheers
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
Re: Issues with SC on low memory NAS - restarted - 2009/02/22 08:15 Bobbo,

I believe that the timeout was caused by the parsing of the XML language files.

The latest SVN incorporates a higher timeout and a caching mechanism so that once the language strings have been parsed once they are stored in a cache file which is only updated if the XML files are modified.

Please could you try the new SVN and let me know if that help (it will still be slow on the very first access or after an update as the cache file needs to be created).

Rob
Server : Windows Home Server (HP MediaSmart EX470)
Player #1: Pinnacle Showcenter 200 (wired ethernet)
Player #2: Popcorn Hour A110 (wired ethernet)


  | | The administrator has disabled public write access.
Re: Issues with SC on low memory NAS - restarted - 2009/02/27 05:54 Rob
you are the man .............!!!!!!!!!!!! after i left my EVA to sort its self out ( i.e. turned it off for a day or so) and upagraded ot th elatest SVN it loaded the main menu faster than ever before !!!!!!!!!!! Even using seeing red....


I can cnonfirm this is FIXED in my case.....
yeah yeha wooo wooo

[eh humm sorry over excited its been alogn week at work

Cheers
rob
Player: EVA700
Server1:
Windows Vista PC
Server2:
Device: Buffalo LS Pro NAS
OS: Freelink Debian etch
Web Server: lighttpd 1.4.13
MYSql: v5.0.30-Debian_3
PHP: v5.2.0-8+etch11
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer