To appear for GATE, there is no upper age limit. Qualifying GATE depends upon your preparation level and calibre. If you are dedicated towards your goal and prepared well for the examination, you can qualify it even in one attempt. So it completely depends on you that in how many attempts you will qualify it.
There is no upper age limit for candidates who wish to appear for the GATE for admission in M. Tech college or direct recruitment to PSU jobs.