Re: PHP Rados failed in read operation if object size is large (say more than 10 MB )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/16/2015 01:55 PM, Gaurang Vyas wrote:
> running on ubuntu with nginx + php-fpm
> 
> <?php
> $rados = rados_create('admin');
> 
> 
> rados_conf_read_file($rados, '/etc/ceph/ceph.conf');
> rados_conf_set($rados, 'keyring','/etc/ceph/ceph.client.admin.keyring');
> 
> $temp = rados_conf_get($rados, "rados_osd_op_timeout");
> echo  "osd ";
> echo $temp;
> $temp = rados_conf_get($rados, "client_mount_timeout");
> echo  "clinet  " ;
> echo $temp;
> $temp = rados_conf_get($rados, "rados_mon_op_timeout");
> echo   "mon  " ;
> echo $temp;
> 
> $err = rados_connect($rados);
> $ioRados = rados_ioctx_create($rados,'dev_whereis');
> 
> $pieceSize = rados_stat($ioRados,'TEMP_object');
> var_dump($pieceSize);
> 
> $piece = rados_read($ioRados, 'TEMP_object',$pieceSize['psize'] ,0);
> 

So what is the error exactly? Are you running phprados from the master
branch on Github?

> echo $piece;
> ?>
> 
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


-- 
Wido den Hollander
42on B.V.
Ceph trainer and consultant

Phone: +31 (0)20 700 9902
Skype: contact42on
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux