Kane

About me:
Location:
Email:

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Activity

  • Kane replied on the discussion topic Anyone using Distributed Servers?
    Thanks guys.  We're thinking that we should spend time analyzing the slow queries, maybe tweak some MySQL settings, before moving hosts. Our server specs are pretty insane (quad-core Xeon processor, 8 GB RAM) for the size of our site, and our... view reply
  • Kane replied on the discussion topic Anyone using Distributed Servers?
    BTW, this is who we're looking at using for cloud servers: http://www.gogrid.com/cloud-hosting/compare-gogrid-ec2-rackspace.php view reply
  • Kane replied on the discussion topic Anyone using Distributed Servers?
    Hey Dhrup, nice to see ya! Part of our issue could be non-optimized custom code.  We have a 1-min multi-threaded cron job that takes 5-10 minutes to complete, so there could be 20 or so of the same PHP process running concurrently.  But... view reply
  • Kane added a new discussion topic Anyone using Distributed Servers? in the group Elgg Technical Support
    We're currently running Elgg 1.5 on a dedicated server that has decent specs (Solo Pro 850 from http://www.servint.net/v_dedicatedservers.php). We have about 12,000 users and get about 40,000 visitors and 300,000 pageviews a month....
    • Kane, splitting to three servers as you mentioned should give you some performance boost. You can also have separate server for files. After that, you would have to use cloud architecture for database servers, or partition your data.

    • Thanks guys.  We're thinking that we should spend time analyzing the slow queries, maybe tweak some MySQL settings, before moving hosts.

      Our server specs are pretty insane (quad-core Xeon processor, 8 GB RAM) for the size of our site, and our average memory and CPU loads are very, very low.  So obviously something else is going on and the hardware isn't to blame.

      @Dhrup, the reason the cron takes so long is it's sending and receiving data from 20 or so other sites via APIs and whatnot, so that wait time is really the bottleneck.

      Cheers!

       

    • cron - ;) i see..
      enabled slow queries log ?
      disable elgg log. 
      cut down php error reporting
      cut down apache logging

  • Kane replied on the discussion topic How to simulate an admin user in a multi-threaded cron job
    Oops, thanks for the clarification Kevin.   I'm on Elgg 1.5 :)   view reply
  • Kane added a new discussion topic How to simulate an admin user in a multi-threaded cron job in the group Plugin Development
    I have a process that needs to run repeatedly at an interval (let's say every minute), and also needs to be scaled as far as how many processes are running concurrently, depending on how much "work" there is to do. The process needs to have access...
  • Kane commented on a page titled Memcache
    What's the point of the $test=true; section in the patch code? That variable is never used anywhere else...
  • Kane has a new avatar
    Kane
  • Kane has updated their profile
  • Kane has updated their profile
  • Kane replied on the discussion topic Prevent duplicate accounts from the same IP in the group General Discussion
    I needed a way to prevent users from opening multiple accounts, so the best idea I had was to save their IP when they register and then check against existing IPs during registration. Here's what I did. In the start.php init() function of an...
    • Yes that works I woke up to only a few spams this morning which was much easier to delete so thank you @Team Webgalli

      I know it isn't a long term solution or even perfect, but it is a handy and quite lethal weapon to have at my disposal when need be, so thanks again.

    • I think an idea is to make a permenent cookie(which should be deleted while at the time of formatting the system),

      while people visiting the website

      if in cookie there is an already logged session of the site

      {

      , hide the registration page through server side scripting.

      }

      else (there is no logged session)

      {

      show the registration page

      }

      But all these ideas are neither 100% reliable nor 100% percent consistent. To forbid the registration through ip or any other process, it is only applicable at the time when all people are using unique computers by their own..

    • Any updates to this for 1.9? I would definitely be interested in this spam limiting since none of the plugins I've found have this option in them.

  • Kane replied on the discussion topic Prevent duplicate accounts from the same IP in the group General Discussion
    I needed a way to prevent users from opening multiple accounts, so the best idea I had was to save their IP when they register and then check against existing IPs during registration. Here's what I did. In the start.php init() function of an...
    • Yes that works I woke up to only a few spams this morning which was much easier to delete so thank you @Team Webgalli

      I know it isn't a long term solution or even perfect, but it is a handy and quite lethal weapon to have at my disposal when need be, so thanks again.

    • I think an idea is to make a permenent cookie(which should be deleted while at the time of formatting the system),

      while people visiting the website

      if in cookie there is an already logged session of the site

      {

      , hide the registration page through server side scripting.

      }

      else (there is no logged session)

      {

      show the registration page

      }

      But all these ideas are neither 100% reliable nor 100% percent consistent. To forbid the registration through ip or any other process, it is only applicable at the time when all people are using unique computers by their own..

    • Any updates to this for 1.9? I would definitely be interested in this spam limiting since none of the plugins I've found have this option in them.

  • Kane replied on the discussion topic Prevent duplicate accounts from the same IP in the group General Discussion
    I needed a way to prevent users from opening multiple accounts, so the best idea I had was to save their IP when they register and then check against existing IPs during registration. Here's what I did. In the start.php init() function of an...
    • Yes that works I woke up to only a few spams this morning which was much easier to delete so thank you @Team Webgalli

      I know it isn't a long term solution or even perfect, but it is a handy and quite lethal weapon to have at my disposal when need be, so thanks again.

    • I think an idea is to make a permenent cookie(which should be deleted while at the time of formatting the system),

      while people visiting the website

      if in cookie there is an already logged session of the site

      {

      , hide the registration page through server side scripting.

      }

      else (there is no logged session)

      {

      show the registration page

      }

      But all these ideas are neither 100% reliable nor 100% percent consistent. To forbid the registration through ip or any other process, it is only applicable at the time when all people are using unique computers by their own..

    • Any updates to this for 1.9? I would definitely be interested in this spam limiting since none of the plugins I've found have this option in them.

  • Kane added a new discussion topic Prevent duplicate accounts from the same IP in the group General Discussion
    I needed a way to prevent users from opening multiple accounts, so the best idea I had was to save their IP when they register and then check against existing IPs during registration. Here's what I did. In the start.php init() function of an...
    • Yes that works I woke up to only a few spams this morning which was much easier to delete so thank you @Team Webgalli

      I know it isn't a long term solution or even perfect, but it is a handy and quite lethal weapon to have at my disposal when need be, so thanks again.

    • I think an idea is to make a permenent cookie(which should be deleted while at the time of formatting the system),

      while people visiting the website

      if in cookie there is an already logged session of the site

      {

      , hide the registration page through server side scripting.

      }

      else (there is no logged session)

      {

      show the registration page

      }

      But all these ideas are neither 100% reliable nor 100% percent consistent. To forbid the registration through ip or any other process, it is only applicable at the time when all people are using unique computers by their own..

    • Any updates to this for 1.9? I would definitely be interested in this spam limiting since none of the plugins I've found have this option in them.

  • Kane replied on the discussion topic Group Owner Change ;-( in the group General Discussion
    Dhrup is looking for "help" ;-) => The var_dump() gives a bool (FALSE) and so the owner change fails ;-(  Any ideas...?     $group = get_entity($GroupGuid); // $GroupGuid has an integer value    echo...