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

Memory just keeps climbing up all day on the Alpha App server

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

  • Memory just keeps climbing up all day on the Alpha App server

    We have looked at all of our logs but they do not show any errors. Our Alpha App server memory just climbs up a little at a time all day until it stops responding at around 1100 mb and we have to restart it.

    This in turn kicks off any user that is on it. We have checked on the normal things like our physical servers, plenty of power there. We only have around 20 users at a time using it and that is spread over three servers.

    Any idea's

    I know this is an old problem that is all over the forum but this really needs to be solved.

    Thanks for your help.
    Reed Brown
    ITOT Solutions, Inc.
    Alpha v12

  • #2
    Re: Memory just keeps climbing up all day on the Alpha App server

    After a harrowing month of Alpha investigating the same kind of issue we've been having, below is finally what they sent me yesterday. So far, it looks like that dll file may have been the issue but today will be the true test. I'd like to know if you have that dll file too, just for my own curiosity.

    From Alpha:
    "After extensive investigation and testing, we may have found a source of a "leak". Look in the application server folder for a file named "A5ACLib.dll" If it has a date stamp of 11/3/2014, please delete it. There is a problem in that file that appears to prevent proper memory cleanup, which will appear as a leak. If the file is missing, you shouldn't see any issues.

    The change won't be applied until the server restarts. After a restart, please monitor the memory. If memory is more stable, you can then turn off the raw log as we won't need that information. "
    Carol King
    Developer of Custom Homebuilders' Solutions (CHS)
    http://www.CHSBuilderSoftware.com

    Comment


    • #3
      Re: Memory just keeps climbing up all day on the Alpha App server

      Our file has a date of 9/14/2014. We're running on build 2446-4365...the last official update from October 1. Are you running on the same build? I ask because of the date discrepancy. This problem has been on going for years (hence the use of Alwaysup) so despite the date being in September I think we may delete (or move) this file anyways.

      ScreenShot_2014.12.12_001_.png
      Mike Brown - Contact Me
      Programmatic Technologies, LLC
      Programmatic-Technologies.com
      Independent Developer & Consultant

      Comment


      • #4
        Re: Memory just keeps climbing up all day on the Alpha App server

        Yes, I am running on a later build installed shortly after 11/3/2014. So it could just be that my build had a later date. Please post back results after you delete it. I'm still curious.
        Carol King
        Developer of Custom Homebuilders' Solutions (CHS)
        http://www.CHSBuilderSoftware.com

        Comment


        • #5
          Re: Memory just keeps climbing up all day on the Alpha App server

          I have that file in my Alpha directory. I was not experiencing any issues, although I have 32GB of ram on that server and far fewer users than many others. I renamed it in case it is a mistake to delete it for me. My physical memory usage was at 3.6GB. After I rebooted it dropped to 2.7GB I will keep an eye on it.
          Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

          Comment


          • #6
            Re: Memory just keeps climbing up all day on the Alpha App server

            This memory issue ONLY applies to pre-release builds after 11/3/2014 (after build 2509). The last release build 2446_4365 (released on 01 OCT 2014 09:15 AM) does not have this problem.

            If you are running the production release, (2446), you don't have to do anything.

            As stated in the pre-release, the pre-release builds should not be used in a production system. If you are using a pre-release build after this date in production to use a feature in the builds and fix a critical problem, please contact us using the bug reporting email and we can send a link to the older file.

            Comment


            • #7
              Re: Memory just keeps climbing up all day on the Alpha App server

              Frank, it is not the physical server memory that is the problem. We are talking about the Alpha application server memory.

              After watching our servers for the last three days and running monitoring software on it, we find that it does not matter what component or action our users take, the memory slowly creeps up and at around the same time on all servers everyday they must be restarted. This continues to be a huge problem for my 70 clients because when we re-boot the App server it kicks all of them off.

              We have sent in the logs and have deactivated the component that was causing the long rendering time but the memory still creeps up. It looks like the app server software just does not release it ever and that is a big problem. Our app is just grids and UX’s with very little customized code. All of the customize code we do have was written by programmers sent to us by Alpha.

              We do not have that much traffic as it is and while watching the memory in the task manager you see it raise every time a user does anything. Now at times it may go down a few MB’s but overall it just keeps raising. The servers we have are very high end and have plenty of power all around and memory and never have any problems.

              We also drained the Load Balancer for one of the nodes when the memory reached about 800mb and let it set for 6 hours. The sessions were all gone but the memory never went down at all.

              Also we cut way down our session time out and that did not help at all. We also cut the keep-alive to 10 connections.

              If anyone has any ideas that would lead us in the right direction that would be great. Thanks.
              Reed Brown
              ITOT Solutions, Inc.
              Alpha v12

              Comment


              • #8
                Re: Memory just keeps climbing up all day on the Alpha App server

                Wow 70 users I can't come close to compare with that. I am not sure of the difference between physical server memory and Alpha application server memory. My machine has only alpha servers on it 1 - v11 and 1 - v12. 5 - users. I don't see any way to specify a limit for the application server so I assumed they can use as much physical ram as needed. I can keep the server up and running for weeks, actually for months before a recent run of updates and have never had any issues with memory. I have looked at the physical memory usage on my alpha server and it does not go above 4GB. I wish I could offer you some suggestions but it will be a while before I will have that many users if ever.
                Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

                Comment


                • #9
                  Re: Memory just keeps climbing up all day on the Alpha App server

                  Frank, not sure if you are looking at the right memory. See my screen shot.Ashampoo_Snap_2014.12.15_15h17m43s_006_.png
                  Reed Brown
                  ITOT Solutions, Inc.
                  Alpha v12

                  Comment


                  • #10
                    Re: Memory just keeps climbing up all day on the Alpha App server

                    Hi Reed,

                    I have been in your situation many times, and even though everybody trying to help me suggested the problem was somewhere in my application, 95% of the time was an internal issue with the A5 webserver.
                    Download the latest pre-release, re-test all your grids/ux and any report you have in your developer environment, if everything works fine, update your webserver with the same version of the pre-release and publish all your files.

                    About the warning of not using the pre-release in production, just ignore it with caution. Fixes from Alpha Team are in a form of pre-release unless the issue may be a DLL or some other file they may send you so you can update your production, but basically we have no choice other than to use/test the pre-release if you have an issue you cannot properly identify.

                    Again, take time to test the pre-release before updating your production server, and since pre-release can change daily, make sure you download the patch for both, your development and the production webserver.

                    Good luck!!! I sincerely hope this will fix the memory leak issue, it is a very frustrating situation.
                    Edhy Rijo
                    Progytech
                    (Computer Consultants)
                    The makers of CardTracking.Net
                    www.progytech.com

                    Comment


                    • #11
                      Re: Memory just keeps climbing up all day on the Alpha App server

                      Thanks Edhy but we have tried that many times with no luck.
                      Reed Brown
                      ITOT Solutions, Inc.
                      Alpha v12

                      Comment


                      • #12
                        Re: Memory just keeps climbing up all day on the Alpha App server

                        Hi Reed,
                        What version of the pre-release are you using? build 2529-4392 with no problem now. Also I use Always-Up to reset the AA web server daily at 4:00am.
                        Also do you have any component with custom code that may be opening data connections and may not being closed properly?
                        Last edited by Progytech; 12-15-2014, 07:55 PM. Reason: Ask last question.
                        Edhy Rijo
                        Progytech
                        (Computer Consultants)
                        The makers of CardTracking.Net
                        www.progytech.com

                        Comment


                        • #13
                          Re: Memory just keeps climbing up all day on the Alpha App server

                          Hi Edhy,

                          It does not matter the build number for us. It happens no matter what. I also use Always-up but the problem is when it re-boots, it kicks out all my users and that is bad.
                          Reed Brown
                          ITOT Solutions, Inc.
                          Alpha v12

                          Comment


                          • #14
                            Re: Memory just keeps climbing up all day on the Alpha App server

                            Hi Reed,
                            Originally posted by reedallenbrown View Post
                            It does not matter the build number for us. It happens no matter what.
                            Believe me, it does matter, a lot actually!!!
                            If you think it does not matter because you have tried several versions, then the issue is most likely in your application or your environment.

                            When I first was surprised with memory leaks, I didn't know much about how AA works and tried basically everything, got help from several users in this forum, those were really dark days with my customer and their end users complaining all day long with these issues, I almost lost my faith on AA, but with the understanding of Jerry Brightbill and the Alpha Dev team, they were able to ping point the memory leaks with windows dump files I created and since them it has been pretty stable for me. Be aware that this may change per application due to the many features in AA which may not be used in all applications.

                            Anyway, if you want to share your current version and willing to try with the current pre-release, you may at least remove that doubt, and then concentrate in your application design or environment.
                            Edhy Rijo
                            Progytech
                            (Computer Consultants)
                            The makers of CardTracking.Net
                            www.progytech.com

                            Comment


                            • #15
                              Re: Memory just keeps climbing up all day on the Alpha App server

                              I have tried the last pre- release with the same problem. We just have grids and a few UX's, no big deal. Memory just climbs all day then we have to restart it.
                              Reed Brown
                              ITOT Solutions, Inc.
                              Alpha v12

                              Comment

                              Working...
                              X