You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2012/07/15 12:40:33 UTC

[jira] [Commented] (TS-1351) raw disk cache disabled when system start

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

Zhao Yongming commented on TS-1351:
-----------------------------------

from the status in procfs, we can know that the init when system start call traffic_cop without Groups, why?

{code}

[root@test55 ~]# grep Uid: good.status bad.status
good.status:Uid:	0	0	0	0
good.status:Uid:	0	176	0	176
good.status:Uid:	176	176	176	176
bad.status:Uid:	0	0	0	0
bad.status:Uid:	0	176	0	176
bad.status:Uid:	176	176	176	176
[root@test55 ~]# grep Gid: good.status bad.status
good.status:Gid:	0	0	0	0
good.status:Gid:	0	176	0	176
good.status:Gid:	176	176	176	176
bad.status:Gid:	0	0	0	0
bad.status:Gid:	0	176	0	176
bad.status:Gid:	176	176	176	176
[root@test55 ~]# grep Groups: good.status bad.status 
good.status:Groups:	0 1 2 3 4 6 10 486 
good.status:Groups:	0 1 2 3 4 6 10 486 
good.status:Groups:	0 1 2 3 4 6 10 486 
bad.status:Groups:	
bad.status:Groups:	
bad.status:Groups:	

{code}
                
> raw disk cache disabled when system start
> -----------------------------------------
>
>                 Key: TS-1351
>                 URL: https://issues.apache.org/jira/browse/TS-1351
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache, Management, Packaging
>    Affects Versions: 3.3.1
>         Environment: 3.3 & 3.0 x86_64 RHEL 6.2
>            Reporter: Zhao Yongming
>             Fix For: 3.3.1
>
>
> when system start, the trafficserver can not enable disk because of unable to open the disk file for read.
> {code}
> [Jul 15 16:29:31.498] Manager {0x7f203507e7e0} NOTE: [LocalManager::pollMgmtProcessServer] New process connecting fd '8'
> [Jul 15 16:29:31.499] Manager {0x7f203507e7e0} NOTE: [Alarms::signalAlarm] Server Process born
> [Jul 15 16:29:32.516] {0x2b53eadb97a0} STATUS: opened /var/log/trafficserver/diags.log
> [Jul 15 16:29:32.529] {0x2b53eadb97a0} NOTE: updated diags config
> [Jul 15 16:29:32.539] Server {0x2b53eadb97a0} WARNING: unable to open '/dev/sda6': -13, Permission denied
> [Jul 15 16:29:32.539] Server {0x2b53eadb97a0} WARNING: could not initialize storage "/dev/sda6" [unable to open]
> [Jul 15 16:29:32.539] Server {0x2b53eadb97a0} NOTE: cache clustering disabled
> [Jul 15 16:29:32.539] Server {0x2b53eadb97a0} NOTE: clearing statistics
> [Jul 15 16:29:32.540] Server {0x2b53eadb97a0} WARNING: unable to open '/dev/sda6': -13, Permission denied
> [Jul 15 16:29:32.540] Server {0x2b53eadb97a0} WARNING: could not initialize storage "/dev/sda6" [unable to open]
> [Jul 15 16:29:32.540] Server {0x2b53eadb97a0} WARNING: no cache disks specified in /etc/trafficserver/storage.config: cache disabled
> [Jul 15 16:29:32.586] Server {0x2b53eadb97a0} NOTE: cache clustering disabled
> [Jul 15 16:29:32.586] Server {0x2b53eadb97a0} WARNING: unable to open cache disk(s): Cache Disabled
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira