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

Server troubles - continuing

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

    Server troubles - continuing

    We've suffered months (years?) of server problems. Of our 8 instances on two servers, we are nearly every day having to restart one or two instances just to clear whatever's going on.

    The symptom is that users usually get a login screen that's not complete, so they can't log in (the load balancers keep putting them on the same server and instance) and complain to us. It seems clear to me the javascript isn't completing when that happens.

    A typical stack log entry looks like this:
    ==========================================================
    Mon Sep 20 11:18:50 2021
    Exception has been thrown by the target of an invocation.
    Object reference not set to an instance of an object.
    ===== Stack Trace Follows =====
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at A5XbasicAppServer.AppServerGzipCache.<>c__DisplayClass9_0.<GetGzippedFileName>b__0(AppServerGzipCacheEntry x)
    at System.Collections.Generic.List`1.Find(Predicate`1 match)
    at A5XbasicAppServer.AppServerGzipCache.GetGzippedFileName(String requestedFileName)
    at A5XbasicAppServer.A5ResponseIntegrated.SendFile(String Filename, Boolean PromptToSave, String OutputFilename)
    at A5XbasicAppServer.A5ResponseWithLegacy.SendFile(String Filename, Boolean PromptToSave, String OutputFilename)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at Syste
    Execution Stack:
    0#1 evaluate_shared_private(
    0#39 OOhttpdServerClientMIME(ptemp,"AppServerMain5ce4b90327b34494a84ff7b6fa2fdaeb")
    ==========================================================
    In some other detail logging with an error log, this is often preceded by a whole bunch of these before the errors begin:

    [Thu Sep 16 20:41:06 2021] [error] [Thread ID: a750330be4dc454bb5c1cfaf0c6addb0 Request Sequence: 2674] (Internal Server Error: ) Error processing a5_application.a5i. Not found
    [Thu Sep 16 20:41:06 2021] [error] [Thread ID: a750330be4dc454bb5c1cfaf0c6addb0 Request Sequence: 2674] (Internal Server Error: ) Error processing a5_application.a5i. Not found
    [Thu Sep 16 20:41:06 2021] [error] [Thread ID: a750330be4dc454bb5c1cfaf0c6addb0 Request Sequence: 2674] (Internal Server Error: ) Error processing a5_application.a5i. Not found
    [Thu Sep 16 20:41:06 2021] [error] [Thread ID: a750330be4dc454bb5c1cfaf0c6addb0 Request Sequence: 2674] (Internal Server Error: ) Error processing a5_application.a5i. Not found
    We're currently on 7715-5579, and really hesitant to go through the upgrade process anytime soon. Our last effort to upgrade just landed us stuff like this despite our best testing efforts.

    Anyone else having similar problems or have any suggestions for fix?

    -Steve
    sigpic

    #2
    I am also on 7715-5579, and have had a lot of issues with this release.

    I have to re-start the WAS at least once a day. It does occasionally cause Alpha to lock up in a user's browser, but not often. Mostly it starts running slow, to the point of causing timing issues. Re-starting the WAS always fixes it, but boots off all the users.

    Re-starting due to slowness have been a problem for me for years. I never have more than 5 users logged on at one time.

    I have seen a lot of posts about fixes that are available in the nightly releases, but not in a "stable" release. I wonder when the next stable version will be available.

    I tried build 7776 but had to roll back immediately.

    Comment


      #3
      What's the app server memory usage look like when things go sideways? In my experience once the app server exceeds 1GB (or around that point) it stops responding. I personally haven't had this experience in a very long time however. Like you, I hesitate in my upgrading of versions. More times than not (and despite my testing) something breaks. Recently it's been repeating sections...nightmare.

      Have you looked over the HTTP/Requested page logs to see if a particular component might be causing a problem?

      Just thought I'd throw these out there.
      Mike Brown - Contact Me
      Programmatic Technologies, LLC
      Programmatic-Technologies.com
      Independent Developer & Consultant​​

      Comment


        #4
        My memory usage can be under 300k and it will run slow. It's been a while since I tried troubleshooting it. There was a build quite a while ago where the problem did not occur. I thought it was fixed, but then in the next build it was back.

        Comment


          #5
          Memory usage isn't usually an indicator. CPU usage is sometimes an indicator, but not reliable. I have to get the use to login (there is a way to manage that) then use a page with A5_Info() to tell me the server and instance.

          I've tried matching the access logs but so far can't nail anything down. And, with the user first noticing it on the login component, there's even less obvious cause & effect.
          -Steve
          sigpic

          Comment


            #6
            We used to be able to run multiple instances of the standard server. I found with AlwaysUp I and about 11 users, I could run 8 instances and restart during the night, and that eliminated the problem. The WAS continuously grew, but with multiple instances assighed to specific people, usually not enough to get to the severe slowdown state. That all went away when Alpha started the You can only run 4 cores policing. Fortunately, business has been bad and staff has been cut so it's manageable for now.
            Pat Bremkamp
            MindKicks Consulting

            Comment


              #7
              re 'Fortunately, business has been bad and staff has been cut so it's manageable for now.' - What can I say.
              Pete
              Insanity: doing the same thing over and over again and expecting different results.
              Albert Einstein, (attributed)
              US (German-born) physicist (1879 - 1955)

              Comment


                #8
                Originally posted by Pat Bremkamp View Post
                We used to be able to run multiple instances of the standard server. I found with AlwaysUp I and about 11 users, I could run 8 instances and restart during the night, and that eliminated the problem. The WAS continuously grew, but with multiple instances assighed to specific people, usually not enough to get to the severe slowdown state. That all went away when Alpha started the You can only run 4 cores policing. Fortunately, business has been bad and staff has been cut so it's manageable for now.
                I wonder if runtime + chrome control + tsplus would be an option in your application. Now you have maybe time to do the switch. User is still using your application like web application but you get benefits of desktop application.

                Comment


                  #9
                  kkfin, could you possibly elaborate on your idea of using RT + chrome control + tsplus a bit? Perhaps in a new thread in a desktop forum? Thanks. -- tom

                  Comment


                    #10
                    So, is anyone happy with any server build beyond 7715-5579?

                    And I'm still here without knowing what I might do to address the problem I show. I sent a bug report a while ago but - unusually - no response.

                    We're not in a position for daily restarts - our app is in constant use from users around the world.
                    -Steve
                    sigpic

                    Comment


                      #11
                      I'm in 7715, clients are still running on 7086_5534 Sep 29,2020, I won't let any of them make the jump and they have to wait for updates.
                      It's not uncommon for to hear nothing just before a the devon where they like to announce a bunch of new stuff, I'm a little worried about it, I had a lot of weird stuff happening while developing, so I copied an entire UX set of controls into a new UX it went from 1.9mb to 2.5mb. whis is what was inside it. - All new Code not in the original.
                      2021-09-22_10-35-26-New stuff.png2021-09-22_10-37-45.png
                      Insanity: doing the same thing over and over again and expecting different results.
                      Albert Einstein, (attributed)
                      US (German-born) physicist (1879 - 1955)

                      Comment


                        #12
                        Just had to restart two instances. Makes for unhappy users (and co-workers)
                        -Steve
                        sigpic

                        Comment


                          #13
                          I just had to re-start too. Seems like since this thread started, my server problems have been worse.

                          Comment


                            #14
                            Steve W.
                            Are you hosting the app internally, or tied to a different Hosting option?
                            See our Hybrid Option here;
                            https://hybridapps.example-software.com/


                            Apologies to anyone I haven't managed to upset yet.
                            You are held in a queue and I will get to you soon.

                            Comment


                              #15
                              Originally posted by Tom Cone Jr View Post
                              kkfin, could you possibly elaborate on your idea of using RT + chrome control + tsplus a bit? Perhaps in a new thread in a desktop forum? Thanks. -- tom
                              Here is some old example but but you get the idea. You are free to use sql also.

                              Application(runtime + chrome control) running in desktop here
                              Same application( runtime + chrome + tsplus) running in web here

                              Kenneth

                              Comment

                              Working...
                              X