History log of /trafficserver/rc/ (Results 1 - 25 of 75)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 7.1.7-rc0, 8.0.4-rc0, 8.0.3, 7.1.6, 8.0.2, 8.0.1, 7.1.5, 7.1.5-rc0, 8.0.1-rc0
15aa1c3a09-Oct-2018 Bryan Call

Removed spaces and tabs at the end of lines

5401e01c26-Sep-2018 Susan Hinrichs

Fix typo of the nofiles ulimit to a sane number

Revision tags: 8.0.0
8e4bc13e20-Sep-2018 Susan Hinrichs

Ensure NOFILES ulimit is set high

If script is not started from a pam process, the system limits
are not set.

Revision tags: 8.0.0-rc3, 8.0.0-rc2, 8.0.0-rc1, 8.0.0-rc0
0178320f15-Aug-2018 dragon512

Increase limit on open files allowed as a service

117f54d106-Aug-2018 Jason Kenny

Setup better defaults for service file logic

Add support for the TS_RUNROOT feature.
Tweak stop logic to clean up files.
Don't hide output from traffic_manger from service daemon.

f38afaa825-Jul-2018 Masa Sekimura

Modifies init script to add start/reload hooks

Allows operator to execute an external script that must exit cleanly
before allowing start/reload to continue

Revision tags: 7.1.4, 6.2.3
52f667d527-Jun-2018 Bryan Call

Sending stdout and stderr to traffic.out
and got rid of traffic_server.stdout and traffic_server.stderr

Revision tags: 7.1.4-rc0
5902b03c14-May-2018 Susan Hinrichs

Remove some more traffic_cop remenants

41fe21b208-May-2018 Susan Hinrichs

Remove traffic_cop

b67a1b5d26-Apr-2018 Derek Dagit

Updates editorconfig files & normalizes white-space

Revision tags: 7.1.3
df144ab502-Mar-2018 James Peach

Fix default include path ordering.

Originally, prior to commit c7c9d0f7a, the configure phase
appended any include paths to `CPPFLAGS`. After c7c9d0f7a, they
were appended to `AM_CPP

Fix default include path ordering.

Originally, prior to commit c7c9d0f7a, the configure phase
appended any include paths to `CPPFLAGS`. After c7c9d0f7a, they
were appended to `AM_CPPFLAGS`. Since automake always specifies
`AM_CPPFLAGS` before `CPPFLAGS` when it generated the compilation
commands, this had the effect of always including system (or
library) headers before any in-tree headers. However, we actually
want the reverse (i.e. the original semantics) because in the
case of a name collision we will always want to resolve the
in-tree name.

This problem caused the build to break on macOS 10.13 (with a
case-insensitive filesystem) because the in-tree `Transform.h`
was being resolved to the Tcl `transform.h`. Hijinks ensued.

The fix is simple but slightly ugly. We keep using `AM_CPPFLAGS`
for global defines, but create a `TS_INCLUDES` build variable for
the include path. This lets us control the include ordering and
ensure that the autoconfigured include paths are included last.

show more ...

Revision tags: 7.1.2, 7.1.2-rc3, 7.1.2-rc2, 7.1.2-rc1, 7.1.2-rc0, 7.1.1, 7.1.1-rc0, 6.2.2, 6.2.2-rc0, 7.1.0, 7.1.0-rc0
dcc193f328-Feb-2017 Tim Bunce

Ensure 'service trafficserver stop’ is synchronous under load on redhat

Currently the service trafficserver stop command on redhat might return before ATS has exited.
This is not good as

Ensure 'service trafficserver stop’ is synchronous under load on redhat

Currently the service trafficserver stop command on redhat might return before ATS has exited.
This is not good as it’s often followed by a start, which then fails.

/etc/init.d/trafficserver does:

action "Stopping ${TC_NAME}:" killproc -p $TC_PIDFILE $TC_DAEMON
action "Stopping ${TM_NAME}:" killproc -p $TM_PIDFILE $TM_DAEMON
action "Stopping ${TS_NAME}:" killproc -p $TS_PIDFILE $TS_DAEMON

and killproc, as defined in /etc/rc.d/init.d/functions, with those arguments essentially does this:

send SIGTERM
wait up to 3 seconds for it to exit
send SIGKILL
wait 0.1 seconds then return an exit status indicating if the process still exists

A SIGKILL signal always causes the death of a process but it’s not instantaneous. A process can take a long time to exit on a busy system for assorted reasons, including flushing dirty buffers to disk.

So if the stop is immediately followed by a start, as it often is, the start may fail with an error like ‘port 80 in use’. This seems to be a common cause of restart failures on busy systems and frustrating manual hand-holding.

Contrast this with the behaviour that /etc/init.d/trafficserver uses when run on Ubuntu… there it’ll wait up to 35 seconds.
(It'll also use SIGQUIT instead of SIGTERM which seems odd).

This PR makes /etc/init.d/trafficserver more reliable, and consistent, on redhat by adding `-d 35` to the killproc arguments so it'll wait for the daemons to stop on redhat for about as long as it does in ubuntu. Not perfect, but much better.

show more ...

b73412a728-Feb-2017 Leif Hedstrom

Revert "Ensure 'service trafficserver stop’ is synchronous under load on redhat"

This reverts commit a19cda745608b993886ca9217600f5d8553ed435.

2b6b41fd28-Feb-2017 Leif Hedstrom

Revert "Fix option order to match killproc's requirements"

This reverts commit d3c73737df211642cb6883677cac34af61139d11.

d3c7373728-Feb-2017 Tim Bunce

Fix option order to match killproc's requirements

a19cda7428-Feb-2017 Tim Bunce

Ensure 'service trafficserver stop’ is synchronous under load on redhat

Currently the service trafficserver stop command on redhat might return before ATS has exited.
This is not good as

Ensure 'service trafficserver stop’ is synchronous under load on redhat

Currently the service trafficserver stop command on redhat might return before ATS has exited.
This is not good as it’s often followed by a start, which then fails.

/etc/init.d/trafficserver does:

action "Stopping ${TC_NAME}:" killproc -p $TC_PIDFILE $TC_DAEMON
action "Stopping ${TM_NAME}:" killproc -p $TM_PIDFILE $TM_DAEMON
action "Stopping ${TS_NAME}:" killproc -p $TS_PIDFILE $TS_DAEMON

and killproc, as defined in /etc/rc.d/init.d/functions, with those arguments essentially does this:

send SIGTERM
wait up to 3 seconds for it to exit
send SIGKILL
wait 0.1 seconds then return an exit status indicating if the process still exists

A SIGKILL signal always causes the death of a process but it’s not instantaneous. A process can take a long time to exit on a busy system for assorted reasons, including flushing dirty buffers to disk.

So if the stop is immediately followed by a start, as it often is, the start may fail with an error like ‘port 80 in use’. This seems to be a common cause of restart failures on busy systems and frustrating manual hand-holding.

Contrast this with the behaviour that /etc/init.d/trafficserver uses when run on Ubuntu… there it’ll wait up to 35 seconds.
(It'll also use SIGQUIT instead of SIGTERM which seems odd).

This PR makes /etc/init.d/trafficserver more reliable, and consistent, on redhat by adding `-d 35` to the killproc arguments so it'll wait for the daemons to stop on redhat for about as long as it does in ubuntu. Not perfect, but much better.

show more ...

c7c9d0f708-Feb-2017 Jack Bates

Prefer setting AM_CPPFLAGS vs. CPPFLAGS, etc.

Autoconf and Automake discourage setting some Makefile variables [1].
They encourage setting their AM_ variants instead.

[1] https:

Prefer setting AM_CPPFLAGS vs. CPPFLAGS, etc.

Autoconf and Automake discourage setting some Makefile variables [1].
They encourage setting their AM_ variants instead.

[1] https://www.gnu.org/software/automake/manual/automake#User-Variables

show more ...

924f15cb16-Feb-2017 Bryan Call

Removed spaces at the end of the line on all files

Revision tags: 6.2.1
9b20422203-Nov-2016 YunWen

TS-5036: use absolute path in autoconf/automake files to support YCM-Generator.

Revision tags: 7.0.0, 7.0.0-rc2, 7.0.0-rc1, 7.0.0-rc0, 6.2.0, 6.2.0-rc2, 6.2.0-rc1, 6.2.0-rc0
70ef31e812-May-2016 James Peach

TS-3670: Remove traffic_line.

Revision tags: 6.1.1, 6.1.0, 6.1.0-rc0, 6.0.1-rc1, 6.0.1-rc0
c498d7e626-Oct-2015 James Peach

s/traffic_line/traffic_ctl/

Revision tags: 6.0.0, 6.0.0-rc2, 6.0.0-rc1, 5.3.2, 6.0.0-rc0, 5.3.2-rc0, 5.3.1
4968e56218-Jun-2015 Romain Lalaut

TS-3698: Add Gentoo support to rc script

This closes #226

Revision tags: 5.3.0, 5.3.0-rc2, 5.3.0-rc1, 5.2.1-rc0, 4.2.3, 5.2.1, 5.2.0, 5.2.0-rc4, 5.2.0-rc3, 5.2.0-rc2, 5.2.0-rc1, 5.1.2
589d801330-Oct-2014 James Peach

Fic launchctl invocation in startup script

847d5c6128-Oct-2014 James Peach

Fix OS X startup script on Yosemite

On earier OS X version, running "launchctl submit" as root was
sufficient to push a job into the system bootstrap session. On
Yosemite (10.10), ho

Fix OS X startup script on Yosemite

On earier OS X version, running "launchctl submit" as root was
sufficient to push a job into the system bootstrap session. On
Yosemite (10.10), however we have to bsexeec it. This ought to also
work on earlier releases, but that's untested.

show more ...

Revision tags: 5.1.1, 5.1.0, 5.1.0-rc0
e9c202ea25-Aug-2014 Leif Hedstrom

TS-3040 Remove some obsolete traffic_shell references / docs / files

123