You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "masaori335 (via GitHub)" <gi...@apache.org> on 2025/08/13 06:51:52 UTC

[PR] Print note when listen is delayed [trafficserver]

masaori335 opened a new pull request, #12452:
URL: https://github.com/apache/trafficserver/pull/12452

   I faced odd situation that ATS started but not listening ports. If I enable debug log, this message appears. 
   ```
   [Aug 13 06:49:40.513] traffic_server DIAG: <traffic_server.cc:2304 (main)> (http_listen) Delaying listen, waiting for cache initialization
   ```
   It looks like ATS delayed listen to wait for cache initialization. Probably, the root cause is a bad disk, but this message should in the `Note` log to give us what's going on.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Print note when listen is delayed [trafficserver]

Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 merged PR #12452:
URL: https://github.com/apache/trafficserver/pull/12452


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Print note when listen is delayed [trafficserver]

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on code in PR #12452:
URL: https://github.com/apache/trafficserver/pull/12452#discussion_r2276657655


##########
src/traffic_server/traffic_server.cc:
##########
@@ -829,7 +829,7 @@ CB_After_Cache_Init()
     // The delay_listen_for_cache value was 1, therefore the main function
     // delayed the call to start_HttpProxyServer until we got here. We must
     // call accept on the ports now that the cache is initialized.
-    Dbg(dbg_ctl_http_listen, "Delayed listen enable, cache initialization finished");
+    Note("Delayed listen enable, cache initialization finished");

Review Comment:
   I know this isn't your wording, but now that this is becoming a NOTE, can you please reword to "Enabling listen, cache ..." so that it corresponds with the "Delaying listen, ..."



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Print note when listen is delayed [trafficserver]

Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 commented on PR #12452:
URL: https://github.com/apache/trafficserver/pull/12452#issuecomment-3218570684

   @bneradt Reworded. Please take another look.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Print note when listen is delayed [trafficserver]

Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #12452:
URL: https://github.com/apache/trafficserver/pull/12452#issuecomment-3228565211

   Cherry-picked to 10.1.x branch


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org