Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
502 Bad Gateway
The server returned an invalid or incomplete response.
Below are my server configuration details.
Let me know please where i am going wrong and optimize my server to handle atleast 6000hits/sec. Its my basic need.
Thanks for posting a good amount of detail, but you omit the things that would let us help you...mainly, anything from the log files. Posting your configs is fine, but without what's in the logs to tell us/you why it's happening, we can't guess. Have you investigated the logs, and can you post them here?
I am not getting point why there is so big diff in load which usually should not happen. Where i am going wrong in my haproxy conf. How i can configure HA to maintain almost equal load on both servers.
1) These posts does not relate to each other ifr you had read the Ha conf of your posted url the domain names are diff than what are in this post
2) This conf is pure for http/https request so where is the point of mail spamming?
3) Why everytime you point my every post with mail spamming
Posting three lines that don't show any errors doesn't really provide much in the way of details. What do you think we'll be able to tell you based on that?
I am not getting point why there is so big diff in load which usually should not happen. Where i am going wrong in my haproxy conf. How i can configure HA to maintain almost equal load on both servers.
1) These posts does not relate to each other ifr you had read the Ha conf of your posted url the domain names are diff than what are in this post
2) This conf is pure for http/https request so where is the point of mail spamming?
3) Why everytime you point my every post with mail spamming
To address what you said:
Yes, different domain names/URL's.....specifically, the haproxy files are for your internal servers, and these are your external facing addresses, or did you think the two would go unnoticed?
Because your very first thread about haproxy was SPECIFICALLY about getting haproxy to work with your 'bulk email server':
i want to setup bulk email server. I already had 10 different IP assigned to the server.Now my problem is how to configure to use multiple IP for single domain so that my domain/Ip should not get blacklisted
Sound familiar?
Because you're a spammer, and you're trying to get help. You never really tell us what company you're working for, what domain, etc., and these hosts are pointing back to locations that are very spammer-friendly.
I sort out the problem. There was no issue with my ha config file it was my web server config problem in terms of RAM/CPU. I updated my server RAM/CPU from 2G 2core to 8G 4 core and my problem solved. Hurry...!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.