Increase max proctitle length from 255 to 1024#3843
Conversation
255 is too short if valkey-server is being run from a long path, especially if many fields are included such as in the "Process title set as expected" test in `unit/other.tcl`, where the max length for the cmdline is 1024, so having the same number in both makes sense. Signed-off-by: Petr Khartskhaev <pkhartsk@redhat.com>
📝 WalkthroughWalkthroughThe ChangesBuffer Size Increase
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Looks like this will solve #3832 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #3843 +/- ##
============================================
- Coverage 76.65% 76.57% -0.09%
============================================
Files 162 162
Lines 80710 80710
============================================
- Hits 61871 61805 -66
- Misses 18839 18905 +66
🚀 New features to boost your workflow:
|
dvkashapov
left a comment
There was a problem hiding this comment.
LGTM, the actual bigger stack allocation would only happen if SPT.end - SPT.base is bigger than buf size
|
Can this be merged? |
255 is too short if valkey-server is being run from a long path, especially if many fields are included such as in the "Process title set as expected" test in `unit/other.tcl`, where the max length for the cmdline is 1024, so having the same number in both makes sense. Closes #3832. Signed-off-by: Petr Khartskhaev <pkhartsk@redhat.com>
255 is too short if valkey-server is being run from a long path, especially if many fields are included such as in the "Process title set as expected" test in `unit/other.tcl`, where the max length for the cmdline is 1024, so having the same number in both makes sense. Closes #3832. Signed-off-by: Petr Khartskhaev <pkhartsk@redhat.com>
255 is too short if valkey-server is being run from a long path, especially if many fields are included such as in the "Process title set as expected" test in `unit/other.tcl`, where the max length for the cmdline is 1024, so having the same number in both makes sense. Closes #3832. Signed-off-by: Petr Khartskhaev <pkhartsk@redhat.com>
255 is too short if valkey-server is being run from a long path, especially if many fields are included such as in the "Process title set as expected" test in `unit/other.tcl`, where the max length for the cmdline is 1024, so having the same number in both makes sense. Closes #3832. Signed-off-by: Petr Khartskhaev <pkhartsk@redhat.com>
255 is too short if valkey-server is being run from a long path, especially if many fields are included such as in the "Process title set as expected" test in
unit/other.tcl, where the max length for the cmdline is 1024, so having the same number in both makes sense.Closes #3832.