TVSauditor (1 Viewer)

josch.hh

MP Donator
  • Premium Supporter
  • March 29, 2008
    476
    77
    Hamburg
    Home Country
    Germany Germany
    Got a new idea from "Gixxer" for a tools to make the use of TVService more reliable.
    It is again a windows service which watches the status of TVS within a specific interval.
    It is looking for:
    • TVS CPU usage
    • TVS memory usage
    • Locked cards
    • Cards status
    • ...

    The tool tries to decide on different status combinations wether TVS is dead/hanging and should be restarted or not.

    This is the Beta release. It does not restart TVS at the moment. It only logs what it would like to do...
    The "Restart Patterns" are not fixed.
    I need your help to identify the cirumstances where TVS is dead/hanging... and the parameters to identify it.


    We still need help!!!
    You can simply only run the app and take a look at the log. With this log you will get a good feeling what TVS does and how it behaves over time.
    We need your help on the pattern ... when TVS goes crazy and quits work.



    So please check the log...

    I also attached the program logic overview from Gixxer, so you can see what the tool should do.


    Install Guide:
    - Copy the files (the complete contents of the zip file) into TVService directory.
    - Install TVSauditor via the "install.cmd" script. The script HAS TO BE RUN AS ADMINISTRATOR !!!!!
    - Reboot the Maschine or start the service via windows service controll window

    Logs and settings files can be found under (for Vista) c:\ProgramData\TVSAuditor

    Plz delete your TVSAuditor.xml settings file for every new release.



    The sources are located in the MP plugins SVN on SF:
    https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/TVSAuditor/



    ChangeLog:

    Alpha01:
    - First alpha release
    Alpha02:
    - Changed logging style
    - Added log level setting -> Please delete TVSAuditor.xml file and let the tool create a new one with the added settings
    - Added an extra log file only for warnings and errors
    Beta01:
    - Complety change the TVS state detection.
    - Added memory usage recognition for TVS
    Beta02:
    - Fixed Mem and Cpu usage wrong information
    Beta0.0.1.8:
    - Fixed some small bugs
     
    Amazing josch!!!

    I appreciate you liked my idea and try to give it a go, as i said i had all the ideas in my head but although i tried, my programming is not good enough.

    Im going to start testing this and report.

    I see the potential of the program, hope we can make it to work.

    Testing started....
     
    Nice to hear this... :)

    Hope you like it.
    You can change the settings in TVSAuditor.xml in the same directory like the log file.
    The settings file is created the first time the tools starts. Edit the values and restart the TVSAuditor windows service.
    It's only the first concept. I think we will need much more input from other guys to set up the patterns.
     
    Nice to hear this... :)

    Hope you like it.
    You can change the settings in TVSAuditor.xml in the same directory like the log file.
    The settings file is created the first time the tools starts. Edit the values and restart the TVSAuditor windows service.
    It's only the first concept. I think we will need much more input from other guys to set up the patterns.

    take a look at your pm, i send you one.

    i can already give you a couple of ideas on things to change, add, etc...


    so far is doing a great job logging.
     
    To all of you in the MP forum... WE NEED HELP .. to find patterns for TVS in case of:
    • crash
    • hangups
    • ...or somehow else quit the work
     
    I like the idea to have an auditor/helper wich can state on possible issues, restart server , etc ....
    There are a very few restrictions to the way i love it though,
    For me, to be efficient, this auditor should be a service.
    If so , (even if not btw ,), how can we trust the watcher itself ? Maybe an audit of the auditor then .... etc
    Just joking....
    cause this is a very nice idea, but imo , tvserver should be able to audit itself, most prolly with the code you wrote, but... where can we see the code btw ?
     
    It is a c# windows service. The code will be in the MP plugins SVN on SF as soon as we reached a state where this tool is somehow usefull.
     
    I like the idea to have an auditor/helper wich can state on possible issues, restart server , etc ....
    There are a very few restrictions to the way i love it though,
    For me, to be efficient, this auditor should be a service.
    If so , (even if not btw ,), how can we trust the watcher itself ? Maybe an audit of the auditor then .... etc
    Just joking....
    cause this is a very nice idea, but imo , tvserver should be able to audit itself, most prolly with the code you wrote, but... where can we see the code btw ?

    as josch said, its a service already.

    the idea is to have a second program that controls tvservice in case of it stop working. right now there is a mp watchdog but nothing similar for tvservice, thats why i got the idea of building this, thank god josch is doing the coding cause i was unable.

    so hopefully we can make this to work and whenever we set a recording, we will feel more calm to know its really going to happen.


    so please, help use find cpu, ram limits (where tvservice shows its not running correctly any more)
    :D
     
    Still no one interessed ?

    This is funny, i thought that TVS causes more trouble.

    ... on the other hand... good to know that TVS is running better that we tought. :)
     

    Users who are viewing this thread

    Back
    Top Bottom