Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How would you solve that?

How would you solve that?

Scheduled Pinned Locked Moved The Lounge
comsysadminperformancequestion
50 Posts 29 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Joan M

    Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

    [www.tamelectromecanica.com][www.tam.cat]

    T Offline
    T Offline
    Todd Smith
    wrote on last edited by
    #8

    Go into the services manager and double-click on the services involved. Look at the top of the dialog for Service name:. Now create a batch file with the following:

    sc stop *service name goes here*
    sleep 30 ; give it some time to shut down
    sc start *service name goes here*

    Now go into control panel and Scheduled Taks > Add Scheduled Task We had to do this for a 3rd party app which kept dropping its database connection (probably during nightly backups) and wouldn't automatcially restore the connection. The only way to fix it was a restart. So we setup a scheduled task to start and stop the services during the night so all would be good in the morning when the service would acutally get used.

    Todd Smith

    B L T 3 Replies Last reply
    0
    • T Todd Smith

      Go into the services manager and double-click on the services involved. Look at the top of the dialog for Service name:. Now create a batch file with the following:

      sc stop *service name goes here*
      sleep 30 ; give it some time to shut down
      sc start *service name goes here*

      Now go into control panel and Scheduled Taks > Add Scheduled Task We had to do this for a 3rd party app which kept dropping its database connection (probably during nightly backups) and wouldn't automatcially restore the connection. The only way to fix it was a restart. So we setup a scheduled task to start and stop the services during the night so all would be good in the morning when the service would acutally get used.

      Todd Smith

      B Offline
      B Offline
      Bassam Abdul Baki
      wrote on last edited by
      #9

      MS's BSOD has allowed us to accept many other failures in IT. It's a shame that we (mostly managers and companies) accept such things.

      Web - Blog - RSS - Math - BM

      T 1 Reply Last reply
      0
      • J Joan M

        Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

        [www.tamelectromecanica.com][www.tam.cat]

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #10

        Maybe use ProcessExplorer to see what threads it's creating. Maybe there's a thread that is leaking the memory, and yet another bug is that when you stop the service, the thread isn't being stopped. Of course, you're not getting paid to find their bugs! I'm curious, what kind of software works only with one kind of software repository? Marc

        Thyme In The Country Interacx My Blog

        M J T C 4 Replies Last reply
        0
        • M Marc Clifton

          Maybe use ProcessExplorer to see what threads it's creating. Maybe there's a thread that is leaking the memory, and yet another bug is that when you stop the service, the thread isn't being stopped. Of course, you're not getting paid to find their bugs! I'm curious, what kind of software works only with one kind of software repository? Marc

          Thyme In The Country Interacx My Blog

          M Offline
          M Offline
          Mladen Jankovic
          wrote on last edited by
          #11

          Marc Clifton wrote:

          I'm curious, what kind of software works only with one kind of software repository?

          Crappy!

          [Genetic Algorithm Library]

          1 Reply Last reply
          0
          • B Bassam Abdul Baki

            MS's BSOD has allowed us to accept many other failures in IT. It's a shame that we (mostly managers and companies) accept such things.

            Web - Blog - RSS - Math - BM

            T Offline
            T Offline
            Todd Smith
            wrote on last edited by
            #12

            Sometimes you don't have a choice but to accept such things and work around them.

            Todd Smith

            1 Reply Last reply
            0
            • T Todd Smith

              Go into the services manager and double-click on the services involved. Look at the top of the dialog for Service name:. Now create a batch file with the following:

              sc stop *service name goes here*
              sleep 30 ; give it some time to shut down
              sc start *service name goes here*

              Now go into control panel and Scheduled Taks > Add Scheduled Task We had to do this for a 3rd party app which kept dropping its database connection (probably during nightly backups) and wouldn't automatcially restore the connection. The only way to fix it was a restart. So we setup a scheduled task to start and stop the services during the night so all would be good in the morning when the service would acutally get used.

              Todd Smith

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #13

              That doesn't help in this case. The OP said the memory is not recovered when the service is shut down. Cheers, Drew.

              J 1 Reply Last reply
              0
              • V Vasudevan Deepak Kumar

                Zoltan Balazs wrote:

                So they don't acknowledge it? Or there isn't support any more?

                Many Indian software cos do that. They go behind you whacking its tongue like anything till you buy them and give the cheque. After that they think they are the rulers and we are slaves.

                Vasudevan Deepak Kumar Personal Homepage
                Tech Gossips
                The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                X Offline
                X Offline
                xcavin
                wrote on last edited by
                #14

                Vasudevan Deepak Kumar wrote:

                Many Indian software cos do that.

                Thank you for the info. How many :confused: India software company you know ?

                1 Reply Last reply
                0
                • J Joan M

                  Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

                  [www.tamelectromecanica.com][www.tam.cat]

                  P Offline
                  P Offline
                  Paul Watson
                  wrote on last edited by
                  #15

                  Get one of those timer plugs. Every night at midnight it switches off and then on. Server reboots. Memory leak fixed. (Had a friend who had his computer on a timer plug. I gave up explaining why it wasn't a great idea.)

                  cheers, Paul M. Watson.

                  J 1 Reply Last reply
                  0
                  • J Joan M

                    Zoltan Balazs wrote:

                    So they don't acknowledge it? Or there isn't support any more?

                    It is complicated... they will solve it in the next version... but this will take too much time, it seems that the next version will be in the market in one year...

                    Zoltan Balazs wrote:

                    Why do you need a VM for that? Can't you reset the machine, are there any other things on it?

                    As a server we are using it for several things, resetting the entire machine each day is not a good solution for me.

                    [www.tamelectromecanica.com][www.tam.cat]

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #16

                    Joan Murt wrote:

                    As a server we are using it for several things, resetting the entire machine each day is not a good solution for me.

                    Could you not buy a cheap server solely for use as teh repository, and schedule a reboot each night?

                    Take a chill pill, Daddy-o .\\axxx (That's an 'M')

                    1 Reply Last reply
                    0
                    • J Joan M

                      Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

                      [www.tamelectromecanica.com][www.tam.cat]

                      R Offline
                      R Offline
                      Redwan Albougha
                      wrote on last edited by
                      #17

                      I will not do some sort of advertisements, but really try RAM optimizer programs, if these programs can access and analyze the RAM completely, they will solve your problem. Although freeing a huge amount of memory will solve your problem :-O , but also a lot of system cached resources and data will be freed too; meaning some undesirable affect on your machine. Since it's a server machine, so many active services' resources will be freed, which yield to do caching for them "extra unneeded overhead" :doh:

                      Best wishes, Redwan Al-Bougha

                      1 Reply Last reply
                      0
                      • J Joan M

                        Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

                        [www.tamelectromecanica.com][www.tam.cat]

                        E Offline
                        E Offline
                        El Corazon
                        wrote on last edited by
                        #18

                        Joan Murt wrote:

                        this is like killing a fly using a thermonuclear bomb...

                        another excellent programming motto. :)

                        1 Reply Last reply
                        0
                        • J Joan M

                          Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

                          [www.tamelectromecanica.com][www.tam.cat]

                          S Offline
                          S Offline
                          Shog9 0
                          wrote on last edited by
                          #19

                          Joan Murt wrote:

                          Any other idea?

                          Pour snake oil directly into the machine. Repeat daily until the situation improves. Send snake oil invoices to software vendor.

                          ----

                          You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                          J 1 Reply Last reply
                          0
                          • L Lost User

                            That doesn't help in this case. The OP said the memory is not recovered when the service is shut down. Cheers, Drew.

                            J Offline
                            J Offline
                            Johnno74
                            wrote on last edited by
                            #20

                            If the memory isn't recovered when the service is shut down, this is a bug in windows. When a process exits, ALL resources used by that process are freed. Anything else is a serious problem. I'd suggest the memory is going somewhere. Something else besides the service...

                            A T 2 Replies Last reply
                            0
                            • J Johnno74

                              If the memory isn't recovered when the service is shut down, this is a bug in windows. When a process exits, ALL resources used by that process are freed. Anything else is a serious problem. I'd suggest the memory is going somewhere. Something else besides the service...

                              A Offline
                              A Offline
                              andreaplanet 0
                              wrote on last edited by
                              #21

                              It can happen if the service is using some DLL or other system components that are used also by other applications.

                              1 Reply Last reply
                              0
                              • V Vasudevan Deepak Kumar

                                Can you gather the Performance Statistics so that the tech support of that company can be convinced that their product is at fault.

                                Vasudevan Deepak Kumar Personal Homepage
                                Tech Gossips
                                The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                                J Offline
                                J Offline
                                Joan M
                                wrote on last edited by
                                #22

                                They are convinced about that, but they plan to solve it for the next release after one year... X|

                                [www.tamelectromecanica.com][www.tam.cat]

                                1 Reply Last reply
                                0
                                • M Marc Clifton

                                  Maybe use ProcessExplorer to see what threads it's creating. Maybe there's a thread that is leaking the memory, and yet another bug is that when you stop the service, the thread isn't being stopped. Of course, you're not getting paid to find their bugs! I'm curious, what kind of software works only with one kind of software repository? Marc

                                  Thyme In The Country Interacx My Blog

                                  J Offline
                                  J Offline
                                  Joan M
                                  wrote on last edited by
                                  #23

                                  We are using a specific software to program the PLC's and CNC's, this software is like a text editor but it stores all the text files we modify in one big binary file. If we want to track our changes without major issues we need their interface to subversion, in fact, at the end we have subversion running, but the interface between the software and the subversion repository is faulty...

                                  [www.tamelectromecanica.com][www.tam.cat]

                                  1 Reply Last reply
                                  0
                                  • J Joan M

                                    Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

                                    [www.tamelectromecanica.com][www.tam.cat]

                                    P Offline
                                    P Offline
                                    Pharago
                                    wrote on last edited by
                                    #24

                                    Use a virtual machine, VMWare or something like that, install an OS inside and let the app run inside it without compromising the entire server, if the app crashes or eats all the VM asigned memory, well, you will still have the chance to reset the VM without bringing down the whole server, all other options will eat most of your free time and probably not going to fix your problem. Regards.

                                    J 1 Reply Last reply
                                    0
                                    • P Paul Watson

                                      Get one of those timer plugs. Every night at midnight it switches off and then on. Server reboots. Memory leak fixed. (Had a friend who had his computer on a timer plug. I gave up explaining why it wasn't a great idea.)

                                      cheers, Paul M. Watson.

                                      J Offline
                                      J Offline
                                      Joan M
                                      wrote on last edited by
                                      #25

                                      Ahhh... I see, I see... I'll place a UPS after the timer plug and then I'll program the UPS service into the server in order to stop automatically the server after a power cut... Nice solution Paul! :rolleyes:

                                      [www.tamelectromecanica.com][www.tam.cat]

                                      P 1 Reply Last reply
                                      0
                                      • J Joan M

                                        Ahhh... I see, I see... I'll place a UPS after the timer plug and then I'll program the UPS service into the server in order to stop automatically the server after a power cut... Nice solution Paul! :rolleyes:

                                        [www.tamelectromecanica.com][www.tam.cat]

                                        P Offline
                                        P Offline
                                        Paul Watson
                                        wrote on last edited by
                                        #26

                                        I am all about practical solutions, Joan. None of this new fangled untested virtual machine nonsense. Really, if I wanted a virtual machine I'd drink a few beers on the porch and imagine one!

                                        cheers, Paul M. Watson.

                                        J 1 Reply Last reply
                                        0
                                        • J Joan M

                                          Hello all, in our department we are using a software that works as a software repository (a kind of subversion) that is the only one that exists/works for the software that we are using. It seems that the service that runs on our server (the one that handles all the queries from our computers) leaks memory. Even if I stop the service it doesn't frees all the memory that it has occupied. I've tried to speak to the manufacturer of that software without result... My only guess is to set up a virtual machine in order to serve that service and make it to reset each day. Any other idea? this is like killing a fly using a thermonuclear bomb... :~ As always thank you in advance.

                                          [www.tamelectromecanica.com][www.tam.cat]

                                          A Offline
                                          A Offline
                                          Abu Mami
                                          wrote on last edited by
                                          #27

                                          Since you can't seem to get them to fix the problem, why not start a blog or website called acmesoftwarerepositorysucks.org - and then blog it to death. Make sure the site is SEO. If that company isn't totally stupid, they'll realize that the publicity will hurt their reputation, and they just might "adjust" priorities.

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups