You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/10/14 18:10:32 UTC

[jira] Commented: (TS-473) Traffic Server keeps crashing the kernel. I have a feeling it has to do with an incorrect cache configuration.

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

Leif Hedstrom commented on TS-473:
----------------------------------

Is there any chance you can try v2.1.3 and see if this problem persists? The changes from v2.0 to v2.1.3 are enormous, and the v2.1 branch is the base for our next stable release, v2.2.

> Traffic Server keeps crashing the kernel. I have a feeling it has to do with an incorrect cache configuration.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-473
>                 URL: https://issues.apache.org/jira/browse/TS-473
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache, Configuration
>    Affects Versions: 2.0.1
>         Environment: Fedora 12 kernel version 2.6.31.5-127.fc12.x86_64
> Intel Core i7 920 2.67 GHz
> 12 GB DDR3 1066MHz
> Traffic Server version 2.0.1 (Stable)
>            Reporter: Devin Madden
>         Attachments: records.config, storage.config
>
>
> I am attempting to set up a mini network at my place of work to do some testing with Traffic Server. The command I used to configure traffic server was this:
> _./configure --enable-webui --with-user=dmadden --with-group=dmadden_
> I followed the directions to set up the cache before the first boot up of the server. I originally wanted to just use a file on my local hard drive. When I tried this however it corrupted my Fedora installation beyond the capability of fsck. I then tried to use a blank hard disk for the cache. In _storage.config_, I added the line:
> /dev/sda 85899345920
> This would hopefully create a 80 GB cache on the disk. I start up traffic server and it seems to start up OK. But then the ABRT starts telling me I have a crash in the kernel package. This is the relevant portion of my /var/log/messages file:
> {code:xml}
> Sep 28 14:27:48 localhost traffic_cop[20707]: --- Cop Starting [Version: Apache Traffic Server - traffic_cop - 2.0.1 - (build # 82814 on Sep 28 2010 at 14:17:48)] ---
> Sep 28 14:27:48 localhost traffic_cop[20707]: traffic_manager not running, making sure traffic_server is dead
> Sep 28 14:27:48 localhost traffic_cop[20707]: spawning traffic_manager
> Sep 28 14:27:48 localhost traffic_manager[20709]: NOTE: --- Manager Starting ---
> Sep 28 14:27:48 localhost traffic_manager[20709]: NOTE: Manager Version: Apache Traffic Server - traffic_manager - 2.0.1 - (build # 82814 on Sep 28 2010 at 14:18:36)
> Sep 28 14:27:48 localhost traffic_manager[20709]: NOTE: RLIMIT_NOFILE(7):cur(10000),max(10000)
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} STATUS: opened var/log/trafficserver/manager.log
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} NOTE: updated diags config
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Missing Configuration File: proxy.pac
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Created zero length place holder for config file proxy.pac
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Missing Configuration File: wpad.dat
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Created zero length place holder for config file wpad.dat
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Missing Configuration File: snmpinfo.dat
> Sep 28 14:27:48 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Created zero length place holder for config file snmpinfo.dat
> Sep 28 14:27:49 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Missing Configuration File: bypass.config
> Sep 28 14:27:49 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Created zero length place holder for config file bypass.config
> Sep 28 14:27:49 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Missing Configuration File: ipnat.conf
> Sep 28 14:27:49 localhost traffic_manager[20709]: {140337312475104} NOTE: [RollBack::Rollback] Created zero length place holder for config file ipnat.conf
> Sep 28 14:27:49 localhost traffic_manager[20709]: {140337312475104} NOTE: [ClusterCom::ClusterCom] Node running on OS: 'Linux' Release: '2.6.31.5-127.fc12.x86_64'
> Sep 28 14:27:49 localhost traffic_manager[20709]: {140337312475104} NOTE: [LocalManager::listenForProxy] Listening on port: 8080
> Sep 28 14:27:49 localhost traffic_manager[20709]: {140337312475104} NOTE: [TrafficManager] Setup complete
> Sep 28 14:27:50 localhost traffic_manager[20709]: {140337312475104} NOTE: [LocalManager::startProxy] Launching ts process
> Sep 28 14:27:50 localhost traffic_manager[20709]: {140337312475104} NOTE: [LocalManager::pollMgmtProcessServer] New process connecting fd '9'
> Sep 28 14:27:50 localhost traffic_manager[20709]: {140337312475104} NOTE: [Alarms::signalAlarm] Server Process born
> Sep 28 14:27:51 localhost traffic_server[20720]: NOTE: --- Server Starting ---
> Sep 28 14:27:51 localhost traffic_server[20720]: NOTE: Server Version: Apache Traffic Server - traffic_server - 2.0.1 - (build # 82814 on Sep 28 2010 at 14:18:59)
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} STATUS: opened var/log/trafficserver/diags.log
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: updated diags config
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: cache clustering disabled
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: clearing statistics
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} WARNING: Warning: you specified a size of 85899345920 for /dev/sda,
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} WARNING: but the device size is 80000000000. Using minimum of the two.
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} WARNING: configuration changed: [hostdb.config] : reinitializing database
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: reconfiguring host database
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: file 'var/trafficserver/host.db' size changed from 0.00MB to 30.91MB
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: cache clustering disabled
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: logging initialized[7], logging_mode = 3
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309379317856} NOTE: traffic server running
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309481101072} WARNING: disk header different for disk /dev/sda: clearing the disk
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: Clearing Disk: /dev/sda
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 51:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 15625043:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 31250035:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 46875027:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 62500019:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 78125011:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 93750003:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 109374995:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 124999987:976562'
> Sep 28 14:27:51 localhost traffic_server[20720]: {47309642471184} NOTE: clearing cache directory '/dev/sda 140624979:976563'
> Sep 28 14:27:53 localhost traffic_server[20720]: {47309640365840} NOTE: cache enabled
> Sep 28 14:28:05 localhost abrtd: Hmm, stray update_client: 'Creating kernel oops crash reports...'
> Sep 28 14:28:05 localhost abrt: Kerneloops: Reported 1 kernel oopses to Abrt
> Sep 28 14:28:05 localhost abrtd: Directory 'kerneloops-1285698485-1' creation detected
> Sep 28 14:28:05 localhost abrtd: Getting local universal unique identification
> Sep 28 14:28:05 localhost abrtd: New crash, saving...
> Sep 28 14:28:53 localhost abrtd: Getting crash infos...
> Sep 28 14:28:55 localhost abrtd: Creating report...
> Sep 28 14:28:55 localhost abrtd: Getting local universal unique identification
> Sep 28 14:28:55 localhost abrtd: Getting local universal unique identification
> {code}
> I don't know how to attach the _storage.config_ and _records.config_ files, and posting the text here would take way to much room.
> So basically, what am I doing wrong? Any feedback anyone could give me would be highly appreciated. I can provide any other configurations or logs one would need so feel free to ask!
> EDIT: For what it's worth I am trying to use the Traffic Server in forward proxy mode.
> Thanks,
> -Devin Madden

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