[ 
https://issues.apache.org/jira/browse/TS-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867170#action_12867170
 ] 

Mladen Turk commented on TS-348:
--------------------------------

Like said 'started with non root user account'

So

$ ./configure --without-sqlite3 --with-libdb
$ make
$ make install DESTDIR=`pwd`/release1
$ cd release1/usr/local
$ export TS_ROOT=`pwd`
$ cd bin
$ ./trafficserver start


Not a proper way I know, but it shows that if user cannot be found or seteuid 
fails, server creates a core file of cca 80M.
traffic_manager endlessly tries to respawn the server until either disk or 
quota is exhausted.


> Infinite core file creation
> ---------------------------
>
>                 Key: TS-348
>                 URL: https://issues.apache.org/jira/browse/TS-348
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Mladen Turk
>            Priority: Blocker
>
> If traffic server is started with non root user account the launch script 
> endlessly loops in start attempts
> generating core.PID file on each iteration.
> This creates 80+ MB core file about each second until the disk gets full.
> The following log entry is added on each iteration:
> E. Mgmt] log ==> [TrafficManager] using root directory 
> '/home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local'
> [May 13 12:50:18.299] {3086546656} STATUS: opened 
> var/log/trafficserver/manager.log
> [TrafficServer] using root directory 
> '/home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local'
> [May 13 12:50:20.830] {1074246896} STATUS: opened 
> var/log/trafficserver/diags.log
> FATAL: Can't change group to user: nobody, gid: 99
> /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server
>  - STACK TRACE:
> /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(ink_fatal_va+0x8f)[0x83451c7]
> /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(ink_fatal_die+0x1d)[0x83451f7]
> /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(_Z14change_uid_gidPKc+0xd8)[0x8152a52]
> /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server(main+0x1296)[0x8153e68]
> /lib/libc.so.6(__libc_start_main+0xdc)[0x7bee9c]
> /home/mturk/tmp/trafficserver-trunk/trunk-svn/release1/usr/local/bin/traffic_server[0x80f3b31]
> [May 13 12:50:21.176] Manager {3086546656} ERROR: 
> [LocalManager::pollMgmtProcessServer] Server Process terminated due to Sig 6: 
> Aborted
> [May 13 12:50:21.176] Manager {3086546656} ERROR:  (last system error 2: No 
> such file or directory)
> [May 13 12:50:21.176] Manager {3086546656} ERROR: [Alarms::signalAlarm] 
> Server Process was reset
> [May 13 12:50:21.176] Manager {3086546656} ERROR:  (last system error 2: No 
> such file or directory)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to