Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Maxlength of a line in a statefile

$
0
0

We’re using service discovery with haproxy, and use statefile to revive states during reloads. Sometimes loading from the statefile is failing with error corrupted global server state file 'path/to/statefile' at line somenumber

Upon debugging, we learnt that maximum allowed characters in a state_line is 512

the fqdn of the real server and srv records are very big in size in our environment which easily exceeds defined 512 length.

Is there any reason it is contained within 512 chars? can we change it? Any recommendations to work this around will be very helpful.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>