Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Normal memory usage by a single alpha web instance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Normal memory usage by a single alpha web instance

    I am just curious what people are seeing as the memory usage for their a5 web instances (when looking at the task manager). This isn't something I have been watching often (I'm a sole developer of a very large web application so I spend most of my time developing or fixing problems) so was curious what others are seeing.

    Just as a side now I have 4 instances of the WAS running though there shows 8 processes for the application server (this is behavior I have always seen and never figured it to be an issue but if it is please do let me know).

    Screen Shot 2016-11-16 at 10.45.29 AM.png

    #2
    Re: Normal memory usage by a single alpha web instance

    Hum, I see one extra instance on my server today. It is not using any CPU; I'm assuming it is a hung process and AlwaysUp has spun up another process to take its place. I think the hosting company had to do something extra to make that all work. BTW, I like to reboot the server once a week to keep things running faster, but I usually don't get around to doing that.

    Here's a link to my screen capture of task manager:

    https://drive.google.com/open?id=0Bz...XNtSEJ6OE9kbW8

    Only a few people were on the server at the time.

    Comment


      #3
      Re: Normal memory usage by a single alpha web instance

      That extra instance(s) is probably the report server. It starts automatically the first time a report is run.
      Mike Brown - Contact Me
      Programmatic Technologies, LLC
      Programmatic-Technologies.com
      Independent Developer & Consultant​​

      Comment


        #4
        Re: Normal memory usage by a single alpha web instance

        So in my case is it likely that it is the reports server instances that are hogging all the memory, and if so is there a way to kill the reports server instance after it has been used to prevent his issue? Or is the better approach just to throw more ram in the server to compensate and then try to restart all instances nightly?

        Comment


          #5
          Re: Normal memory usage by a single alpha web instance

          You must be running a heck of a lot of reports. I presume Alpha has methods of releasing memory after a report is finished running. That memory usage, for a report server, seems awfully high. I'm not entirely sure however. My memory usage doesn't get any where near those numbers.

          I use Alwaysup to restart the app servers nightly. The metal server usually sees a reboot weekly (MS updates).

          You can disable the report server entirely but that may not be of help if you're running a lot of reports.

          ScreenShot_002.jpg
          Mike Brown - Contact Me
          Programmatic Technologies, LLC
          Programmatic-Technologies.com
          Independent Developer & Consultant​​

          Comment


            #6
            Re: Normal memory usage by a single alpha web instance

            May not be that we have a lot of reports but rather a lot of users who tend to run reports all around the same time because it's when the reports are due. If you believe this to be the reports server I won't worry to much about it and look at beefing up the memory of the server to compensate along with killing these processes in the middle of the night. I do know I have to have the reports server enabled as when I don't it runs up the actual instances of alpha my users are on when just using the regular web app causing slowdowns and crashes. Thanks for all the feedback.

            Comment


              #7
              Re: Normal memory usage by a single alpha web instance

              It is unlikely the high memory usage is from report servers. There is data in a couple places to help identify which servers are using the most memory
              • First, if you go to the Windows Task Manager "details" tab, you will get more information about each process. An important value is the PID or process identifier.
              • Next, you can examine the server logs, such as the access or error logs. An entry will be placed in the log when a server starts showing data such as the processor number being used by the server. You can also get the PID as it is used in the temp folder path. For example, you may see a path listed for a dump file as "C:\Users\Admin\AppData\Local\Temp\AlphaAnywhere\p_10764". The 10764 after the p_ is the actual process PID
              • You can also get the PID and processor from the Windows Event log. This is accessed from the Windows Control Panel Administrative tools as "Event Viewer". When a server or report server starts, it will create a log entry with the same data

              Report servers are started automatically on demand and will show as another instance of "Alpha Five" or "A5ApplicationServer.exe". If you have 4 server instances, you will probably see 8 processes. Because each process should be on it's own virtual core, you should have at least a 4 core processor (8 virtual cores) to spread the load

              The memory values shown are rather high and may indicate the potential for problems. It is not typical to see a server working set memory above 700,000KB - 800,000KB. What is also unusual is the fact 3 application servers are very busy, while 1 is not. If they are all behind a load balancer, the load balancer is not spreading the load evenly

              Comment


                #8
                Re: Normal memory usage by a single alpha web instance

                Well I did find one record of a report server starting in the event viewer (thousands of events in there and I as far as I could tell not an easy way to filter them) but the PID attached to that event was a server that wasn't seeing high memory usage so I do believe you are right that the instances with the high memory usage are the actual instances of alpha.

                My load balancer was configured by zebra host, it is not my forte so I'm not really sure what changes I can make to the load balancer settings to help get the load balanced better.

                As for the indication of potential problems, is there a more obvious place to start looking for these problems or is it a crap shoot and I just have to dig through everything (if it's the latter this is going to have to wait as I have to change all my session variables to character values and then go through thousands of controls on hundreds of components to figure out where I will run into issues with this switch to character session variables, unless you can ease my fears about that transition based on my posts in this thread http://www.alphasoftware.com/alphafo...ssion-variable).

                Comment


                  #9
                  Re: Normal memory usage by a single alpha web instance

                  Here is what our's typically looks like. We have 7 instances and the others are report server instances.

                  I'm pretty sure your issue is not reports...we run about 1500 reports every day.

                  Pat
                  Attached Files
                  Last edited by Pat Bremkamp; 11-16-2016, 04:57 PM.
                  Pat Bremkamp
                  MindKicks Consulting

                  Comment


                    #10
                    Re: Normal memory usage by a single alpha web instance

                    I would point out the load difference on the 4th instance to Zebrahost and see what they have to say about it.

                    Comment

                    Working...
                    X